joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463d80
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x677e70]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x30], 0
jne 0x463dc6
push 0
push 0
push 0x95
push 0x5bd380
call fcn.0043bc90
add esp, 0x10
mov eax, 0x80004005
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x9c], 0
jne 0x463dda
push 0
push 0
push 0x96
jmp 0x463da3
mov eax, dword [edi + 0x24]
push ebx
push esi
cmp eax, dword [edi + 0x28]
jae 0x463ec7
nop dword [eax + eax]
mov ecx, dword [edi + 0x24]
mov al, byte [ecx + 4]
cmp al, byte [edi + 0xa0]
jne 0x463eb7
push dword [ecx]
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x463eb7
push 2
push 0
lea eax, [edi + 0xa4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov eax, dword [edi + 0x24]
movzx eax, word [eax + 6]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
call ebx
test esi, esi
je 0x463eb7
push 0
push 0
push edi
push 0x464160
push 0
push 0
call fcn.0059050c
add esp, 0x18
mov esi, eax
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x463e7b
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call ebx
cmp dword [ebp - 0x3c], 0
jge 0x463e99
push dword [edi + 0xa4]
call ebx
jmp 0x463eb7
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0xa4]
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push dword [edi + 0xa4]
mov esi, eax
call ebx
test esi, esi
jne 0x463edf
add dword [edi + 0x24], 0x10
mov eax, dword [edi + 0x24]
cmp eax, dword [edi + 0x28]
jb 0x463df0
pop esi
pop ebx
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret 4
lea ebx, [edi + 0x2b0]
push 0x6529ec
mov ecx, ebx
call fcn.00404c50
mov esi, dword [ebp - 0x1c]
lea ecx, [edi + 0x34]
xor eax, eax
nop dword [eax]
mov edx, dword [ecx]
cmp esi, edx
jne 0x463f0a
test edx, edx
jne 0x463f15
inc eax
add ecx, 4
cmp eax, 0x1a
jl 0x463f00
jmp 0x463f27
add eax, 0x41
push eax
push 0x5bd408
push ebx
call fcn.00405150
add esp, 0xc
lea edx, [edi + 0xac]
test edx, edx
jne 0x463f35
xor ecx, ecx
jmp 0x463f4f
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463f40
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.0041f5d0
mov ecx, dword [edi + 0x24]
pop esi
pop ebx
mov eax, dword [ecx]
mov dword [edi + 0x2b4], eax
lea eax, [ecx + 0x10]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x24], eax
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret 4
Function at 0x4679c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b28e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x4679fd
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 0
jge 0x467a33
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00404960
mov esi, dword [ebp - 0x10]
push 0
push 0x25
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [esi - 8]
push esi
call fcn.00587495
add esp, 8
test eax, eax
js 0x467b4d
cmp eax, dword [esi - 8]
jg 0x467b4d
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0xb
mov word [esi + eax*2], cx
lea ecx, [ebp - 0x10]
push 0x5bd430
call fcn.0041f5d0
mov edi, dword [ebp - 0x10]
test edi, edi
jne 0x467ae7
xor esi, esi
push 1
push esi
call dword [sym.imp.ole32.dll_CoLoadLibrary]
push esi
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
je 0x467b13
push str.DllGetClassObject
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x467b13
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
push ecx
push 0x63ed6c
push dword [ebp + 8]
call eax
mov esi, eax
test esi, esi
js 0x467b00
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
js 0x467b00
cmp dword [ebx], 0
jne 0x467afe
mov esi, 0x80004005
jmp 0x467b00
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
jne 0x467a7e
push 0x8007000e
call fcn.00404b10
xor esi, esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test eax, eax
je 0x467b18
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x467b18
mov esi, 0x80004005
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x467b37
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.00404b10
int3
Function at 0x46b580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2a3b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 8], 0
xorps xmm0, xmm0
movups xmmword [edi + 0xc], xmm0
movq qword [edi + 0x1c], xmm0
mov byte [edi + 0x24], 0
lea esi, [edi + 0x28]
mov dword [edi + 4], vtable.BULL::CGeneralBase.0
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00462ae0
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46b620
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2a66
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x30]
call fcn.0046c0f0
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x28]
push eax
mov dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0046c140
push dword [edi + 0x28]
call fcn.0053e4ac
add edi, 0xc
add esp, 4
cmp byte [edi + 0x18], 0
je 0x46b687
push edi
mov byte [edi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4710b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x677e70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push dword [ebp + 0xc]
mov esi, ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x471160
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4710f0
sub ecx, edx
mov eax, 0x5c
sar ecx, 1
mov word [ebp + ecx*2 - 0x20c], ax
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x471174
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
lea ecx, [ebp - 0x20c]
mov eax, dword [esi]
push ecx
push edi
push esi
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
jns 0x471160
push 0
push 0
push 0x57
push str.FileGeneralFS.cpp
call fcn.0043bc90
add esp, 0x10
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret 8
call fcn.0053eccd
int3
Function at 0x4785f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3450
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
call fcn.00478a70
mov edi, dword [ebp - 0x1c]
mov ecx, eax
mov ebx, dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 0x10], ecx
test ecx, ecx
js 0x47873a
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x47866b
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov edi, ebx
mov byte [ebp - 4], 1
cmp ebx, dword [ebp - 0x1c]
je 0x478714
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.0041f5d0
mov esi, dword [ebp - 0x10]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4786b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4786b9
cmp eax, 0xb7
jne 0x478785
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x14], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x4787a7
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x4786e7
push ebx
lea ecx, [ebp - 0x10]
call fcn.00404960
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, 0x5c
mov word [esi + eax*2], cx
cmp ebx, dword [esi - 8]
jg 0x4787a7
xor eax, eax
mov dword [esi - 0xc], ebx
add edi, 4
mov word [esi + ebx*2], ax
cmp edi, dword [ebp - 0x1c]
jne 0x478685
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x478737
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4787f2
mov esi, ebx
cmp ebx, edi
je 0x478771
nop
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47876a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x478750
mov eax, dword [ebp - 0x18]
sub eax, ebx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x4787b1
call fcn.00581ed5
push 0
push 0
push 0x1c
push str.FileFSUtil.cpp
call fcn.0043bc90
mov ebx, dword [ebp - 0x20]
add esp, 0x10
mov dword [ebp - 0x10], 0x80004005
jmp 0x47871b
push 0x80070057
call fcn.00404b10
shl eax, 2
cmp eax, 0x1000
jb 0x4787e9
test bl, 0x1f
je 0x4787c5
call fcn.00581ed5
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x4787d1
call fcn.00581ed5
sub ebx, eax
cmp ebx, 4
jae 0x4787dd
call fcn.00581ed5
cmp ebx, 0x23
jbe 0x4787e7
call fcn.00581ed5
mov ebx, eax
push ebx
call fcn.0053e4ac
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478ed0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3510
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x681928], 0
je 0x478ff6
cmp dword [ebp + 8], 0
je 0x478ff6
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x478f23
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00405200
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x478f68
lea eax, [ecx - 1]
test eax, eax
js 0x479007
cmp eax, ecx
jg 0x479007
cmp word [esi + eax*2], 0xa
je 0x478f75
push 0xa
lea ecx, [ebp - 0x10]
call fcn.0042ffa0
mov esi, dword [ebp - 0x10]
push 0x5bdd88
lea ecx, [ebp - 0x18]
call fcn.00404ca0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00405020
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x14]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x478fbc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x478fda
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x478ff6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00404b10
int3
Function at 0x47afd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x47afe4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push dword [edi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
call ebx
push dword [edi + 0xc]
call ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push edi
push 0x47aef0
push 0
push 0
call fcn.0059050c
add esp, 0x18
mov dword [edi + 4], eax
test eax, eax
je 0x47b042
cmp dword [edi + 0x18], 0
je 0x47b02a
push 0xfffffffffffffff1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 8]
mov esi, eax
call ebx
test esi, esi
pop esi
je 0x47b04a
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
pop ebx
mov dword [edi + 0x14], 0
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x47b9b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3988
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x47ba7b
push eax
call fcn.00586344
add esp, 4
xor edi, edi
nop dword [eax]
call fcn.00404520
test eax, eax
je 0x47babc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test edi, edi
jle 0x47ba2c
push edi
push dword [ebx + 4]
lea eax, [ebp - 0x10]
push str._s___d_
push eax
call fcn.00405150
add esp, 0x10
jmp 0x47ba38
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405520
mov esi, dword [ebp - 0x10]
xor eax, eax
cmp byte [ebp + 8], al
setne al
push eax
push esi
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x47ba91
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47ba71
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
cmp edi, 0xa
jl 0x47b9f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47baa6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404b10
int3
Function at 0x47bad0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b39b8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x24d8]
push dword [esi + 0x24d4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x2548]
mov edx, 0xea60
push 0
lea eax, [eax + eax*4]
cmp eax, edx
cmova edx, eax
push edx
push dword [esi + 0x24d8]
push dword [esi + 0x24d4]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x8000
call fcn.0053e9a2
mov edi, eax
mov dword [ebp - 0x14], vtable.CAutoObjPtr_unsigned_char_.0
add esp, 4
mov dword [ebp - 0x10], edi
push str.InternetReadFileExA_CHttpTask::DownloadInternetErrorInfo
push esi
push 4
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push eax
push dword [ebp + 8]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x28], edi
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0x28
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], 0x8000
call dword [sym.imp.WININET.dll_InternetReadFileExA]
push eax
mov ecx, esi
call fcn.0047ce10
mov dword [ebp + 8], eax
test eax, eax
js 0x47bbb6
mov edx, dword [ebp - 0x24]
lea ecx, [edx - 1]
cmp ecx, 0x7ffe
ja 0x47bbb6
mov ecx, dword [esi + 0x2528]
push edx
push dword [ebp - 0x28]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x2c]
push 1
push edi
call fcn.0053eb9c
mov eax, dword [ebp + 8]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47cc00
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3988
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x47cd35
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp + 8]
push 0
push eax
push 0
push 5
push esi
mov dword [ebp + 8], 0
call edi
test eax, eax
jne 0x47cd51
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x47cd51
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x47cc77
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0047c820
push eax
push 5
push esi
call edi
test eax, eax
je 0x47cd13
mov esi, dword [ebp - 0x10]
push dword [esi - 8]
push esi
call fcn.00587495
add esp, 8
test eax, eax
js 0x47cd09
cmp eax, dword [esi - 8]
jg 0x47cd09
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call fcn.00588936
mov edi, eax
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ebx, edx
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47ccf1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00404b10
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47cd35
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, SysReAllocString
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp + 8]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp + 8], 4
push eax
push 0x20000005
push esi
call edi
test eax, eax
je 0x47cd35
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47d150
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6748
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi], 0
je 0x47d192
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 8]
lea ebx, [edi + 4]
test edx, edx
jne 0x47d1a0
xor ecx, ecx
jmp 0x47d1b4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47d1a5
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.00404b60
push 0x5bdedc
lea eax, [ebp + 8]
push ebx
push eax
call fcn.00413ba0
add esp, 0xc
push eax
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
call fcn.00405520
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47d201
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
cmp dword [esi + 4], 0
jl 0x47d21f
jg 0x47d211
cmp dword [esi], 0
jbe 0x47d21f
push 1
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x5bdef8
push dword [edi + 8]
push edi
call fcn.00585fe9
mov eax, dword [edi]
add esp, 0xc
test eax, eax
je 0x47d17c
cmp dword [esi + 4], 0
jl 0x47d299
jg 0x47d247
cmp dword [esi], 0
jbe 0x47d299
push 2
push 0
push 0
push eax
call fcn.0058667e
add esp, 0x10
test eax, eax
jne 0x47d17c
push dword [edi]
call fcn.00586c7c
add esp, 4
cmp edx, dword [esi + 4]
jg 0x47d280
jl 0x47d273
cmp eax, dword [esi]
jae 0x47d280
mov dword [esi], 0
mov dword [esi + 4], 0
push 0
push dword [esi + 4]
push dword [esi]
push dword [edi]
call fcn.0058667e
add esp, 0x10
test eax, eax
jne 0x47d17c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47ea70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
test eax, eax
je 0x47ea95
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.00586ed5
add esp, 0x10
cmp eax, dword [ebp + 0xc]
jb 0x47ea95
mov al, 1
pop ebp
ret 8
xor al, al
pop ebp
ret 8

Function at 0x47edf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x47ee16
push edi
push edi
push 0x69
push str.FileStreamFromFile.cpp
call fcn.0043bc90
add esp, 0x10
mov eax, 0x80070057
pop edi
pop ebp
ret 0x18
cmp dword [ebp + 0x18], 0
jne 0x47ee24
push 0
push 0
push 0x6a
jmp 0x47edff
cmp dword [ebp + 0x1c], 0
jne 0x47ee32
push 0
push 0
push 0x6b
jmp 0x47edff
push esi
push 0x4000
call fcn.0053e9a2
mov esi, eax
add esp, 4
test esi, esi
jne 0x47ee6f
push eax
push eax
push 0x6f
push str.FileStreamFromFile.cpp
call fcn.0043bc90
add esp, 0x10
mov edi, 0x80004005
push 1
push esi
call fcn.0053eb9c
add esp, 8
mov eax, edi
pop esi
pop edi
pop ebp
ret 0x18
mov ecx, dword [ebp + 0x10]
mov eax, ecx
mov edx, dword [ebp + 0x14]
or eax, edx
push ebx
je 0x47eed2
mov ebx, dword [ebp + 8]
nop
test edx, edx
ja 0x47ee8e
jb 0x47ee93
cmp ecx, 0x4000
jb 0x47ee93
mov ecx, 0x4000
push 0
lea eax, [ebp + 0xc]
push eax
push ecx
push esi
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47eee8
mov eax, dword [edi]
lea ecx, [ebp + 0x18]
push ecx
push dword [ebp + 0xc]
push esi
push edi
call dword [eax + 0x10]
test eax, eax
js 0x47eee8
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, ecx
sbb edx, 0
mov dword [ebp + 0x10], ecx
or eax, edx
mov dword [ebp + 0x14], edx
jne 0x47ee80
pop ebx
push 1
push esi
xor edi, edi
call fcn.0053eb9c
add esp, 8
mov eax, edi
pop esi
pop edi
pop ebp
ret 0x18
mov eax, dword [ebp + 0x10]
or eax, dword [ebp + 0x14]
je 0x47eed2
pop ebx
push 1
push esi
mov edi, 0x80004005
call fcn.0053eb9c
add esp, 8
mov eax, edi
pop esi
pop edi
pop ebp
ret 0x18

Function at 0x47ef30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push 0
test ecx, ecx
jne 0x47ef55
push ecx
push 0x28
push str.FileStreamFromFile.cpp
call fcn.0043bc90
add esp, 0x10
mov eax, 0x80070057
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
cmp eax, 0xffffffff
jne 0x47ef7a
push 0
push 0x29
push str.FileStreamFromFile.cpp
call fcn.0043bc90
add esp, 0x10
mov eax, 0x80004005
pop ebp
ret 0x10
lea edx, [ebp + 0xc]
push edx
push dword [ebp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47ef71
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x47ef99
mov eax, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
pop ebp
ret 0x10