joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a800
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x483276
mov eax, dword fs:[0]
push eax
sub esp, 0x8e4
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x8e0], eax
push ebp
push esi
push edi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0x8f4]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x908]
test ecx, ecx
mov edx, dword [esp + 0x90c]
mov eax, dword [esp + 0x904]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
je 0x43a861
mov dword [ecx], 0
test edx, edx
je 0x43a86b
mov dword [edx], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push eax
push bind
call edi
test eax, eax
jne 0x43aa2c
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x487868
push ecx
mov dword [esp + 0x30], 0x463
call ebp
test eax, eax
je 0x43a8c9
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43aa2c
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
push str.DefaultIcon
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [esp + 0x14]
push edx
push 0x20019
push 0
lea eax, [esp + 0x34]
push eax
push bind
call edi
test eax, eax
jne 0x43aa2c
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
push 0x487868
push eax
mov dword [esp + 0x30], 0x463
call ebp
test eax, eax
je 0x43a936
mov ecx, dword [esp + 0x14]
push ecx
call esi
jmp 0x43aa2c
mov edx, dword [esp + 0x14]
push edx
call esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.0040d2a0
mov dword [esp + 0x8fc], 0
push 0x2c
lea ecx, [esp + 0x14]
xor edi, edi
call fcn.0040cd50
mov esi, eax
test esi, esi
jle 0x43a9ca
mov ecx, dword [esp + 0x10]
lea edx, [ecx + esi*2 + 2]
push edx
call fcn.0046283f
add esp, 4
mov edi, eax
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.0041d430
mov byte [esp + 0x8fc], 1
push eax
lea ecx, [esp + 0x14]
call fcn.00402640
mov byte [esp + 0x8fc], 0
lea ecx, [esp + 0x24]
call fcn.00401540
push 0x487f24
lea ecx, [esp + 0x14]
call fcn.00439170
push 0x487f24
lea ecx, [esp + 0x14]
call fcn.004390b0
mov esi, dword [esp + 0x20]
test esi, esi
mov ebp, dword [esp + 0x1c]
jne 0x43a9da
test ebp, ebp
je 0x43aa18
mov ecx, dword [esp + 0x10]
push 1
push ebp
push esi
push edi
push ecx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test esi, esi
je 0x43a9f3
cmp dword [esi], 0
jne 0x43a9fd
test ebp, ebp
je 0x43aa18
cmp dword [ebp], 0
je 0x43aa18
mov dword [esp + 0x8fc], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401540
mov eax, 1
jmp 0x43aa2e
mov dword [esp + 0x8fc], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401540
xor eax, eax
mov ecx, dword [esp + 0x8f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x8e0]
xor ecx, esp
call fcn.00460e4b
add esp, 0x8f0
ret
Function at 0x43aa60
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push 0
push 0x80
push 3
push 0
push 3
push bind
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x43aaea
push esi
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [edi + 0x14]
cmp esi, eax
ja 0x43aaad
push 0xffffffffffffffff
push esi
mov ecx, edi
call fcn.00404ed0
jmp 0x43aabb
mov ecx, esi
sub ecx, eax
push 0
push ecx
mov ecx, edi
call fcn.00405240
cmp dword [edi + 0x18], 0x10
jb 0x43aac6
mov edi, dword [edi + 4]
jmp 0x43aac9
add edi, 4
push 0
lea edx, [esp + 0x14]
push edx
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, dword [esp + 0x10]
pop edi
pop esi
jne 0x43aae3
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
mov al, bl
pop ebx
pop ecx
ret

Function at 0x43aaf0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4832dd
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
push edi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, dword [esp + 0x250]
mov edi, dword [esp + 0x254]
xor ebx, ebx
mov dword [esp + 0x14], ebx
push 0x1b
push str.MIMEDatabaseContent_Type_
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], esi
mov byte [esp + 0x44], bl
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00405600
mov dword [esp + 0x248], 1
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0x2c]
call fcn.004080d0
mov eax, dword [esp + 0x24]
mov edi, 0x10
cmp dword [esp + 0x38], edi
mov dword [esp + 0x10], ebx
jae 0x43ab95
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43abe7
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
push ebx
push ebx
push str.Extension
push ecx
mov dword [esp + 0x30], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43abdc
mov byte [esp + 0x3c], bl
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x3c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
jmp 0x43ac00
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x43ac00
sub eax, edx
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.00405600
mov dword [esp + 0x14], 1
mov byte [esp + 0x248], bl
cmp dword [esp + 0x38], edi
jb 0x43ac3a
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0046058f
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov eax, esi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00460e4b
add esp, 0x23c
ret
Function at 0x43c1d0
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
xor edi, edi
test ebp, ebp
mov esi, eax
jle 0x43c267
lea edx, [ebp - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
add edx, 1
lea edi, [edx + edx*2]
push ebx
lea ebx, [ebx]
movsx eax, byte [esi]
sar eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi]
movsx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
sar ebx, 4
movzx eax, byte [eax + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movsx ebx, byte [esi + 2]
add ecx, 1
and eax, 0xf
sar ebx, 6
movzx eax, byte [ebx + eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], al
add ecx, 1
add esi, 3
sub edx, 1
jne 0x43c200
pop ebx
lea edx, [ebp + 1]
cmp edi, edx
jne 0x43c27f
pop edi
mov eax, ecx
sub eax, dword [esp + 0xc]
pop esi
mov byte [ecx - 1], 0x3d
mov byte [ecx], 0
pop ebp
ret
add ebp, 2
cmp edi, ebp
jne 0x43c28e
mov al, 0x3d
mov byte [ecx - 2], al
mov byte [ecx - 1], al
pop edi
mov eax, ecx
sub eax, dword [esp + 0xc]
pop esi
mov byte [ecx], 0
pop ebp
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4836bb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 4], eax
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [esp + 0x10], ecx
or edx, 0xffffffff
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax], ecx
mov dword [eax + 0x30], 0x8000
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x442d20
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x442d79
mov ax, word [esp]
cmp al, 2
jne 0x442d73
cmp ah, 1
jne 0x442d73
mov eax, dword [0x49fb1c]
call fcn.00442c40
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00460e4b
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00460e4b
add esp, 0x194
ret
Function at 0x445150
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x483f88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0xd], 0
jne 0x445335
cmp dword [esp + 0x44], 0
mov ecx, dword [esi + 0x294]
mov eax, 1
mov byte [esi + 0xd], al
jne 0x4452e1
test ecx, ecx
mov dword [esi + 0x21c], eax
je 0x4451c1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push str._I_Complete_
push 3
push 4
call edx
mov ecx, dword [esi + 0x274]
call fcn.004468e0
cmp dword [esi + 0x104], 0
jne 0x4451f0
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x10c]
push eax
lea ecx, [esi + 0xf0]
call fcn.00443bd0
jmp 0x445298
lea ebp, [esi + 0xf0]
mov ebx, 8
cmp dword [ebp + 0x18], ebx
jb 0x445205
mov eax, dword [ebp + 4]
jmp 0x445208
lea eax, [ebp + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0044d3e0
add esp, 8
mov dword [esp + 0x3c], 0
cmp dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x18]
jae 0x44522c
lea ecx, [esp + 0x18]
cmp dword [esi + 0x124], ebx
lea edi, [esi + 0x10c]
jb 0x44523f
mov eax, dword [edi + 4]
jmp 0x445242
lea eax, [edi + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x44525b
push 0xffffffffffffffff
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.00443bd0
push 0xffffffffffffffff
xor edi, edi
push edi
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.00443bd0
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], ebx
jb 0x445287
mov eax, dword [esp + 0x18]
push eax
call fcn.0046058f
add esp, 4
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
cmp byte [esi + 0x1b8], 0
jne 0x4452d4
mov eax, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1c4]
mov ecx, eax
or ecx, edx
je 0x4452d4
mov ecx, dword [esi + 0x274]
mov edi, dword [ecx + 0x28]
cmp edi, eax
jne 0x4452c7
mov eax, dword [ecx + 0x2c]
cmp eax, edx
je 0x4452d4
push 0x69
push 6
mov ecx, esi
call fcn.00442ee0
jmp 0x445335
push 0
push 5
mov ecx, esi
call fcn.00442ee0
jmp 0x445335
test ecx, ecx
je 0x4452f5
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push str._F_Error_occured__
push 4
push 4
call eax
mov eax, dword [esi + 0x240]
cmp eax, 6
je 0x445321
mov ecx, dword [esi + 0x294]
test ecx, ecx
je 0x445317
mov edx, dword [ecx]
push 0
push 0x69
push 6
push eax
mov eax, dword [edx]
call eax
mov dword [esi + 0x240], 6
cmp byte [esi + 0x24e], 0
jne 0x445335
mov ecx, dword [esi + 0x274]
call fcn.004468e0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00460e4b
add esp, 0x2c
ret 4
Function at 0x449680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x484601
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00405520
mov dword [esp + 0x34], 1
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.004080d0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00405520
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 0x10
jb 0x449721
mov edx, dword [esp + 0x14]
push edx
call fcn.0046058f
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x44cd00
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x44cd09
ret
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret

Function at 0x44cd30
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x44cd39
ret
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push 0
lea ecx, [esp + 0xc]
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
cmp esi, dword [esp + 8]
pop esi
setne cl
sub ecx, 1
and eax, ecx
ret

Function at 0x44ce30
Capabilities:
Get disk size

Disassembly:
sub esp, 0x28
push str.GetDiskFreeSpaceExW
push 0x489798
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44ce74
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
push edx
call eax
test eax, eax
je 0x44ceb0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esp, 0x28
ret
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x44ceb0
mov eax, dword [esp]
mul dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push ecx
push edx
push eax
call fcn.00462580
add esp, 0x28
ret
xor eax, eax
xor edx, edx
add esp, 0x28
ret
Function at 0x44cec0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x254
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
mov ebx, dword [esp + 0x25c]
test ebx, ebx
jne 0x44cef8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00460e4b
add esp, 0x254
ret
push ebp
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea eax, [edi + edi + 0xa]
push eax
call fcn.00462893
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 4
mov esi, eax
push ebx
push esi
call ebp
cmp word [esi + edi*2 - 2], 0x5c
lea eax, [esi + edi*2]
jne 0x44cf2f
push 0x488754
jmp 0x44cf34
push 0x488de0
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push esi
mov edi, eax
call fcn.00460594
add esp, 4
cmp edi, 0xffffffff
jne 0x44cf67
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x44cf63
cmp eax, 1
jne 0x44cf6e
xor eax, eax
jmp 0x44cf73
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00460e4b
add esp, 0x254
ret

Function at 0x44cf90
Capabilities:
Get disk information

Disassembly:
sub esp, 0x628
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x624], eax
push esi
mov esi, dword [esp + 0x630]
push edi
push 4
xor edi, edi
push esi
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp word [esp + 0x16], 0x3a
mov word [esp + 0x1a], di
je 0x44cfe4
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.0044cdf0
add esp, 8
push 0x104
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x104
lea eax, [esp + 0x43c]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
pop edi
pop esi
jne 0x44d033
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.00460e4b
add esp, 0x628
ret
movzx eax, byte [esp]
mov ecx, dword [esp + 0x624]
shr eax, 6
xor ecx, esp
and eax, 1
call fcn.00460e4b
add esp, 0x628
ret
Function at 0x44dd00
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x58
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x54], eax
push ebp
push esi
mov esi, dword [esp + 0x64]
push 2
push 0
push 0x3f
push 1
push 0
mov ebp, ecx
mov dword [esp + 0x1c], 0x10
call fcn.0045a390
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.00458230
cmp dword [esp + 0x10], 0
jne 0x44dd93
push 0x3f
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x44dd6c
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00460e4b
add esp, 0x58
ret 4
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x44dd57
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00462e30
add esp, 0xc
mov edx, dword [esp + 0xe]
push ebx
mov ebx, dword [esp + 0x14]
push edi
push edx
call dword [sym.imp.WS2_32.dll_ntohs]
push ebx
movzx edi, ax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, esi
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x44ddb0
push 0x2e
push esi
call fcn.004623b0
add esp, 8
test eax, eax
je 0x44dde2
lea ecx, [ecx]
push 0x2e
push esi
mov byte [eax], 0x2c
call fcn.004623b0
add esp, 8
test eax, eax
jne 0x44ddd0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x44dde7
mov ecx, edi
and ecx, 0xff
push ecx
sar edi, 8
sub eax, edx
push edi
add eax, esi
push str.__d__d
push eax
call fcn.00461f16
add esp, 0x10
push 5
mov ecx, ebp
call fcn.004587d0
mov ecx, dword [esp + 0x64]
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.00460e4b
add esp, 0x58
ret 4
Function at 0x453880
Capabilities:
Move file
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x74]
test ecx, ecx
push ebp
push esi
push edi
mov dword [esp + 0x18], ebx
je 0x4538ca
call fcn.0044b0b0
mov ecx, dword [ebx + 0x74]
mov edi, eax
call fcn.0044bdf0
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x4538ba
mov ecx, esi
call fcn.0044bdf0
push esi
call fcn.0046058f
add esp, 4
push edi
mov dword [ebx + 0x74], 0
call fcn.0044b260
add esp, 4
cmp byte [esp + 0x20], 0
jne 0x4538f9
mov eax, dword [ebx]
mov byte [ebx + 0x96], 0
mov ecx, dword [eax + 0x274]
add ecx, 0x30
push ecx
lea ecx, [ebx + 8]
call fcn.0043dba0
mov edx, dword [ebx]
mov ecx, dword [edx + 0x274]
call fcn.00446930
lea ecx, [ebx + 0x88]
mov byte [ebx + 0x96], 0
call fcn.00453090
mov esi, dword [ebx + 0x7c]
cmp esi, dword [ebx + 0x80]
lea edi, [ebx + 0x78]
jbe 0x453920
call fcn.00460856
mov edi, edi
mov ebp, dword [edi + 8]
cmp dword [edi + 4], ebp
jbe 0x45392d
call fcn.00460856
test edi, edi
je 0x453935
cmp edi, edi
je 0x45393a
call fcn.00460856
cmp esi, ebp
je 0x453981
test edi, edi
jne 0x453947
call fcn.00460856
cmp esi, dword [edi + 8]
jb 0x453951
call fcn.00460856
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0
call edx
cmp esi, dword [edi + 8]
jb 0x453967
call fcn.00460856
mov eax, dword [esi + 0x50]
mov ecx, dword [ebx]
push eax
call fcn.00445780
cmp esi, dword [edi + 8]
jb 0x45397c
call fcn.00460856
add esi, 0x58
jmp 0x453920
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x45398e
call fcn.00460856
mov ebp, dword [edi + 4]
cmp ebp, dword [edi + 8]
jbe 0x45399b
call fcn.00460856
cmp ebp, ebx
je 0x4539f3
mov eax, dword [esp + 0x20]
mov esi, dword [edi + 8]
mov byte [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
push ecx
mov byte [esp + 0x18], 0
mov edx, dword [esp + 0x18]
push edx
push eax
push ebp
push esi
push ebx
call fcn.00452ee0
sub esi, ebx
mov eax, 0x2e8ba2e9
imul esi
mov eax, dword [edi + 8]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x38]
mov esi, ecx
imul esi, esi, 0x58
push edx
push edi
push eax
add esi, ebp
push esi
call fcn.004531f0
add esp, 0x28
mov dword [edi + 8], esi
mov edx, dword [esp + 0x18]
pop edi
xor ecx, ecx
cmp byte [esp + 0x1c], cl
pop esi
pop ebp
sete cl
pop ebx
add esp, 0xc
mov dword [esp + 4], ecx
mov ecx, dword [edx]
jmp fcn.00445150
Function at 0x454350
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4855d0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x49e128]
xor eax, esp
mov dword [esp + 0x60], eax
push ebp
push esi
push edi
mov eax, dword [0x49e128]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov edi, dword [esp + 0x84]
mov esi, ecx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x7c], 2
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
lea ebp, [esi + 0x48]
push ecx
mov ecx, ebp
call fcn.00441b40
test al, al
je 0x454433
lea edx, [esp + 0x48]
lea ecx, [esi + 8]
push edx
mov dword [esp + 0x14], ecx
call fcn.0043ef20
test al, al
je 0x454422
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
add eax, 1
adc ecx, 0
or eax, ecx
jne 0x454414
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x6c], edi
call fcn.00454300
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00452c60
mov al, 1
jmp 0x454446
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0043cf70
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.0043fb40
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004353e0
xor al, al
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00460e4b
add esp, 0x70
ret 4