joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442b33
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor eax, eax
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call fcn.0043576f
test al, al
je 0x442b68
push edx
push esi
pop ebp
pop ecx
pop ecx
pop esp
push ecx
pop eax
pop edx
pop ebx
pop edx
push ebx
pop edi
pop edi
push edi
push ebp
push eax
push esp
push edx
push eax
pop edx
push ebp
pop ecx
push ecx
call fcn.004357b4
test al, al
je 0x442b81
push ecx
pop ecx
push edx
push ecx
push edx
push eax
push ecx
push eax
push edi
pop ecx
push edx
pop ebx
push ebp
push ebp
push eax
push eax
call fcn.00435b35
test al, al
je 0x442b9f
pop esi
pop ebp
pop ecx
pop esp
push ecx
push esi
pop esi
push edx
push ebx
pop edi
pop ecx
pop eax
pop eax
push edi
push edi
push eax
push edx
pop esp
push ebp
push eax
push ecx
lea eax, [ebp - 0xc]
mov esi, 0xf013f
push eax
push esi
xor ebx, ebx
push ebx
push 0x5b282c
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x442cc2
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x442bee
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x442cc2
call fcn.0043576f
test al, al
je 0x442c0f
push ebp
push ebx
push ebx
push ecx
push esp
pop ebx
push edx
pop ebx
push edx
push esi
pop ebp
pop edx
pop ebp
push esi
push ecx
pop esp
pop esp
pop ecx
push ebx
pop edi
pop esp
pop eax
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x442c3c
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x442cc0
push dword [ebp + 0x14]
call fcn.0045c456
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0043576f
test al, al
je 0x442c8c
push ebp
pop ecx
push esp
push eax
pop ebp
push esp
push edi
push edx
pop edi
pop edx
pop esp
push ecx
pop esi
push ebp
pop esp
pop edi
pop ebx
push eax
push esp
pop ebp
pop edx
push eax
push ebp
pop edx
push edi
push ebx
push ebp
call fcn.00435af0
test al, al
je 0x442cb2
push edi
push ebp
pop eax
pop edx
push esp
pop esi
push ecx
pop ebx
pop ebx
pop esp
pop edi
pop edi
pop ebx
push ebp
pop edx
pop edx
push esp
push esp
pop ebx
push esi
pop ecx
pop esp
pop esp
pop edx
push eax
push eax
pop esp
push edx
pop ebp
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443766
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x63a188]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.0044e770
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5b7a58
call fcn.0045c456
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0045f7f5
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.0044e770
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.0044e770
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.0044e770
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x443864
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.0040fc10
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.0040d060
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004315db
mov esp, ebp
pop ebp
ret 4
Function at 0x444fbe
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1810
call fcn.00431860
mov eax, dword [0x63a188]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1000
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.0044e770
and dword [ebp - 0x180c], 0
add esp, 0xc
call fcn.00435952
test al, al
je 0x44501b
pop ecx
pop edx
push esi
pop edx
push ebx
push esp
pop esp
push edi
pop esp
pop esi
push ecx
pop esp
pop ebp
pop eax
push edx
pop edi
pop esp
pop ecx
push ebx
pop edi
push ebp
pop edi
pop edx
push esi
push ecx
pop ebp
pop eax
pop ecx
push esi
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0044e770
add esp, 0xc
call fcn.00435a21
test al, al
je 0x445057
pop eax
push esp
pop ebx
push ebx
pop eax
pop ebp
pop edi
pop ebx
push ebp
pop eax
push ecx
push edi
push eax
push edi
pop esi
pop ebx
pop esi
push ecx
pop esi
pop ecx
pop ecx
pop ebx
pop eax
push ebp
pop eax
push ecx
pop esp
pop ebx
push edx
and dword [ebp - 0x1808], 0
xor ebx, ebx
mov dword [ebp - 0x1810], ebx
call fcn.00435a21
test al, al
je 0x445088
pop ecx
pop ebx
push edi
pop eax
pop ebx
pop edi
push eax
push ebx
push edi
push ebx
push eax
push edi
pop ecx
push ebx
pop eax
pop eax
push ebx
pop edi
push ebx
mov ebx, dword [ebp - 0x1810]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x180c]
push eax
push 0x1000
lea eax, [ebp - 0x1804]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x445088
mov edi, dword [ebp - 0x180c]
xor esi, esi
shr edi, 2
test edi, edi
je 0x445124
and dword [ebp - 0x1808], esi
push 0x400
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0044e770
push 0x400
lea eax, [ebp - 0x804]
push eax
push dword [ebp + esi*4 - 0x1804]
call fcn.004451a0
add esp, 0x18
test eax, eax
je 0x44510d
lea eax, [ebp - 0x804]
push str.Windowsexplorer.exe
push eax
call fcn.00445222
pop ecx
pop ecx
test eax, eax
jne 0x445114
inc esi
cmp esi, edi
jb 0x4450c4
jmp 0x445124
mov eax, dword [ebp + esi*4 - 0x1804]
xor ebx, ebx
mov dword [ebp - 0x1808], eax
inc ebx
test ebx, ebx
je 0x445088
call fcn.00435547
test al, al
je 0x445146
push ecx
pop ecx
push eax
push eax
pop eax
pop ebp
push ebp
pop eax
push ebp
pop ecx
pop eax
push edx
push edx
push ecx
push ebx
push ebx
pop ebx
call fcn.0043558c
test al, al
je 0x445166
push edx
push eax
push esi
push ebp
push ebx
pop esi
push ecx
pop edx
pop esp
push ebx
push edx
push esi
pop eax
pop edx
push ebx
push ebp
push ebx
pop esp
pop ecx
push edi
pop ebp
push esi
pop edi
call fcn.004356a0
test al, al
je 0x445189
push edx
push edi
push ecx
push esi
push esi
push ecx
push edx
pop eax
pop esp
push edx
push esi
push ebp
pop ebp
pop edi
push edi
pop esi
pop edi
push ebp
push ecx
pop esp
push ecx
push edi
pop esi
pop ebp
push ecx
push edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1808]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004315db
mov esp, ebp
pop ebp
ret
Function at 0x4451a0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, ebx
call fcn.00435bbf
test al, al
je 0x4451c5
push ebp
push ebx
push esp
push esp
push esp
pop ecx
push ebx
pop esi
push edi
push ebx
pop eax
pop ebp
push ebx
push eax
pop ecx
pop esp
push edi
push esi
push ebp
pop eax
push dword [ebp + 8]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4451f5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
xor ecx, ecx
inc ecx
test eax, eax
push esi
cmovne ebx, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00435952
test al, al
je 0x44521b
pop ecx
pop edx
push esi
pop edx
push ebx
push esp
pop esp
push edi
pop esp
pop esi
push ecx
pop esp
pop ebp
pop eax
push edx
pop edi
pop esp
pop ecx
push ebx
pop edi
push ebp
pop edi
pop edx
push esi
push ecx
pop ebp
pop eax
pop ecx
push esi
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x446354
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x89], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x449901
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
mov dword [ebp - 0xc], eax
lea edi, [eax + 0x210]
mov byte [ebp - 1], 0
mov esi, dword [edi]
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x4499d2
lea edi, [esi + 0x28]
mov dword [ebp + 8], edi
lea ecx, [ebx + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5b3200
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub edi, 0xffffff80
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5b3200
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5b3200
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5b3200
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0xa8]
push edi
push eax
call fcn.0045f9b0
mov edi, dword [ebp + 8]
pop ecx
pop ecx
test eax, eax
jne 0x4499af
lea eax, [ebx + 0x28]
push edi
push eax
call fcn.0045f9b0
pop ecx
pop ecx
test eax, eax
je 0x4499cb
mov eax, 0x1b0
add edi, eax
add esi, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], edi
cmp esi, dword [eax + 0x214]
je 0x4499cf
jmp 0x449933
mov byte [ebp - 1], 1
mov edi, dword [ebp - 8]
call fcn.00435bbf
test al, al
je 0x4499ef
push ebp
push ebx
push esp
push esp
push esp
pop ecx
push ebx
pop esi
push edi
push ebx
pop eax
pop ebp
push ebx
push eax
pop ecx
pop esp
push edi
push esi
push ebp
pop eax
cmp byte [ebp - 1], 0
jne 0x449a12
lea edx, [ebx + 0xa8]
push edx
call fcn.0045c480
pop ecx
test eax, eax
je 0x449a12
push ebx
mov ecx, edi
call fcn.0044a6f0
mov al, 1
jmp 0x449a14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44a5ff
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x63a188]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x11c], ebx
xor esi, esi
mov eax, dword [ebx + 0x210]
mov dword [ebx + 0x214], eax
call fcn.00435a21
test al, al
je 0x44a659
pop eax
push esp
pop ebx
push ebx
pop eax
pop ebp
pop edi
pop ebx
push ebp
pop eax
push ecx
push edi
push eax
push edi
pop esi
pop ebx
pop esi
push ecx
pop esi
pop ecx
pop ecx
pop ebx
pop eax
push ebp
pop eax
push ecx
pop esp
pop ebx
push edx
mov ebx, dword [ebp - 0x11c]
xor esi, esi
mov edi, 0x114
lea eax, [ebp - 0x118]
push edi
push esi
push eax
call fcn.0044e770
add esp, 0xc
mov dword [ebp - 0x118], edi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x44a694
mov ecx, ebx
call fcn.00449ebd
jmp 0x44a6a9
mov edi, esi
test esi, esi
jne 0x44a6a9
mov ecx, ebx
call fcn.00449d64
inc edi
mov esi, eax
cmp edi, 0xa
jl 0x44a696
mov eax, dword [ebx + 0x214]
mov ecx, 0x1b0
sub eax, dword [ebx + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004315db
mov esp, ebp
pop ebp
ret

Function at 0x44ab10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov esi, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.0044be50
push dword [ebp + 0xc]
mov ecx, dword [esi + 8]
call fcn.0044be00
push dword [ebp + 0x10]
mov ecx, dword [esi + 8]
call fcn.0044bea0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
je 0x44ab4c
mov ecx, dword [edi + 8]
mov dword [ecx + 0xc], eax
mov esi, dword [edi + 8]
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x44aba0
push 0
push 0
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0x44ab90
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44ab90
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
pop edi
pop esi
mov al, byte [eax + 4]
pop ebp
ret 0xc
Function at 0x44adb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af156
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x63a188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x638], esi
lea eax, [esi + 8]
mov dword [esi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], esi
jb 0x44ae0a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], ecx
cmp dword [esi + 0x34], 8
mov dword [ebp - 4], ecx
jb 0x44ae27
mov eax, dword [esi + 0x20]
jmp 0x44ae2a
lea eax, [esi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x44ae44
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x44ae5e
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x68]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x44ae78
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 4
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
call fcn.004553f8
push eax
call fcn.0045f859
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0044e770
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x44af37
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.0044e770
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x44af28
test eax, eax
je 0x44af28
add eax, eax
cmp eax, 0x412
jae 0x44af23
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x44af2e
call fcn.004322ee
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 0x20]
call fcn.00409be0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x44af63
cmp dword [esi + 0x34], 8
jb 0x44af49
mov ecx, dword [esi + 0x20]
jmp 0x44af4c
lea ecx, [esi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x44af63
push 1
push 0x5b1258
lea ecx, [esi + 0x20]
call fcn.00407da0
cmp dword [esi + 0x30], 0
jne 0x44af78
push 3
push 0x5b7a58
lea ecx, [esi + 0x20]
call fcn.00408220
mov dword [esi + 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004315db
mov esp, ebp
pop ebp
ret
Function at 0x44afa0
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
je 0x44afbc
cmp dword [edi + 0x64], 8
lea eax, [edi + 0x50]
jb 0x44afb5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x80]
test eax, eax
je 0x44afd9
push eax
call fcn.00431618
add esp, 4
mov dword [edi + 0x80], 0
mov eax, dword [edi + 0x7c]
lea esi, [edi + 0x68]
cmp eax, 8
jb 0x44afef
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00408370
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x44b005
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x50]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x44b020
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00408370
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x44b036
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x44b051
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00408370
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x44b067
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x44b082
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00408370
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x44b098
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov eax, dword [edi + 0x1c]
cmp eax, 8
jb 0x44b0b2
inc eax
lea ecx, [edi + 8]
push eax
push dword [edi + 8]
call fcn.00408370
mov dword [edi + 0x1c], 7
cmp dword [edi + 0x1c], 8
mov dword [edi + 0x18], 0
jb 0x44b0d1
mov eax, dword [edi + 8]
xor ecx, ecx
pop edi
pop esi
mov word [eax], cx
ret
xor eax, eax
mov word [edi + 8], ax
pop edi
pop esi
ret
Function at 0x44c620
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
je 0x44c65e
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], 4
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x44c65e
mov eax, dword [ebp - 4]
xor edx, edx
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret

Function at 0x464bc1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00464a40

Function at 0x465fbb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00465c7b
Function at 0x471cf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 3
jne 0x471d1c
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x471d0d
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call ecx
jmp 0x471d50
cmp dword [esi + 8], 0
jne 0x471d40
push 0x5b320c
push dword [eax + 8]
call fcn.0045b1b9
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x471d40
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.0045b6b2
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x471d72
mov eax, dword [esi + 8]
test eax, eax
je 0x471d6c
push eax
call fcn.0045afa0
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x472190
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x63a188]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4721e0
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x4721da
shr eax, 8
cmp al, 2
jne 0x4721da
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004315db
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.004315db
mov esp, ebp
pop ebp
ret
Function at 0x473240
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00484060

Function at 0x474270
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push edi
mov esi, dword [edi + eax*4 + 0x168]
call fcn.00474550
add esp, 8
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call dword [sym.imp.WS2_32.dll_send]
mov ebx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp ebx, 0xffffffff
jne 0x4742f4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x4742cc
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0x51
xor eax, eax
pop ebp
ret
push esi
push edi
call fcn.004722e0
push eax
push str.Send_failure:__s
push dword [edi]
call fcn.00473f30
mov eax, dword [edi]
add esp, 0x14
mov dword [eax + 0x85b8], esi
mov eax, dword [ebp + 0x18]
mov dword [eax], 0x37
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x474550
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, edx
push ebx
push esi
shl eax, 4
lea esi, [ecx + 0x18c]
mov ebx, dword [ecx + edx*4 + 0x168]
add esi, eax
mov eax, dword [ecx + 0x248]
push edi
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x3c], 3
je 0x474600
cmp dword [ecx + edx*4 + 0x17c], 0x4741c0
jne 0x474600
cmp dword [esi], 0
je 0x474598
test edi, edi
je 0x474600
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.00482640
add esp, 0x10
cmp eax, 0xffffffff
je 0x474600
test al, 1
je 0x474600
cmp dword [esi], 0
jne 0x4745e9
push 0x8000
mov dword [esi + 4], 0x8000
call dword [0x63ab74]
mov edi, dword [esi + 4]
add esp, 4
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test eax, eax
jne 0x4745e9
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
pop ebp
ret
mov eax, dword [esi]
add eax, dword [esi + 8]
push 0
push edi
push eax
push ebx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x474600
add dword [esi + 8], eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x474610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x190]
test eax, eax
je 0x474639
push dword [esi + 0x11c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call eax
add esp, 0x14
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x47466f
push dword [esi + 0x118]
lea eax, [eax + eax*2]
push 1
add eax, 0x5c06f8
push 2
push eax
call fcn.0045f120
push dword [esi + 0x118]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0045f120
add esp, 0x20
xor eax, eax
pop esi
pop ebp
ret
Function at 0x47a610
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x47a62e
cmp dword [esi + 0x48], 0
je 0x47a62e
push 2
push 3
push esi
call fcn.004880b0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00488880
add esp, 4
test esi, esi
je 0x47a64e
cmp dword [esi + 0x48], 0
je 0x47a64e
push 3
push esi
call fcn.004880f0
add esp, 8
pop esi
pop ebp
ret