joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458a70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x80c
mov eax, dword [0x6c6f60]
xor eax, esp
mov dword [esp + 0x808], eax
mov eax, dword [esp + 0x814]
push ebx
mov ebx, dword [esp + 0x814]
push edi
xor edi, edi
cmp dword [esp + 0x820], 1
je 0x458ac9
mov eax, dword [ebx]
push str.Unsupported_type_of_known_host_information_store
push 0xffffffffffffffdf
push eax
call fcn.00465c70
add esp, 0xc
pop edi
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.005c950e
add esp, 0x80c
ret
push 0x6a6704
push eax
call fcn.005ec2cc
add esp, 8
mov dword [esp + 8], eax
test eax, eax
jne 0x458b08
mov ecx, dword [ebx]
push str.Failed_to_open_file
push 0xfffffffffffffff0
push ecx
call fcn.00465c70
add esp, 0xc
pop edi
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.005c950e
add esp, 0x80c
ret
lea edx, [ebx + 4]
push esi
push edx
call fcn.00466140
mov esi, eax
add esp, 4
test esi, esi
je 0x458b84
push ebp
lea esp, [esp]
push 1
lea eax, [esp + 0x18]
push eax
push 0x800
lea ecx, [esp + 0x24]
push ecx
push esi
push ebx
call fcn.00458750
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x458b83
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
push edx
push ebp
lea eax, [esp + 0x20]
push 1
push eax
call fcn.005eb3a8
add esp, 0x10
cmp eax, ebp
jne 0x458b6f
push esi
call fcn.00466150
mov esi, eax
add esp, 4
test esi, esi
jne 0x458b20
jmp 0x458b83
mov ecx, dword [ebx]
push str.Write_failed
push 0xfffffffffffffff0
push ecx
call fcn.00465c70
add esp, 0xc
mov edi, eax
pop ebp
mov edx, dword [esp + 0xc]
push edx
call fcn.005e7e28
mov ecx, dword [esp + 0x818]
add esp, 4
pop esi
mov eax, edi
pop edi
pop ebx
xor ecx, esp
call fcn.005c950e
add esp, 0x80c
ret

Function at 0x459570
Capabilities:
Set socket configuration

Disassembly:
push ecx
lea ecx, [esp]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0xc], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
pop ecx
ret
Function at 0x45a7e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x218
push ebx
push edi
mov edi, dword [esp + 0x224]
lea eax, [esp + 8]
push eax
xor ebx, ebx
push edi
mov dword [edi + 0x130], ebx
call sym.Setup.exe_libssh2_keepalive_send
add esp, 8
cmp eax, ebx
jl 0x45a931
mov edx, dword [esp + 8]
mov ecx, edx
push edi
imul ecx, ecx, 0x3e8
call sym.Setup.exe_libssh2_session_block_directions
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x45a834
call fcn.004592a0
mov ecx, 0x3e8
mov eax, dword [edi + 0x54]
cmp eax, ebx
push esi
jle 0x45a883
cmp edx, ebx
je 0x45a844
cmp edx, eax
jle 0x45a883
push ebx
call fcn.005ebafd
mov ecx, dword [esp + 0x234]
push edx
mov edx, dword [esp + 0x234]
push eax
push ecx
push edx
call fcn.005f9c22
fmul qword [0x6a7318]
add esp, 0x14
call fcn.005ca750
mov ecx, dword [edi + 0x54]
cmp eax, ecx
jg 0x45a919
sub ecx, eax
mov esi, 1
jmp 0x45a88c
xor eax, eax
cmp ecx, ebx
setg al
mov esi, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
imul eax, eax, 0x3e8
sub ecx, eax
mov al, byte [esp + 0x10]
imul ecx, ecx, 0x3e8
push ebp
xor ebp, ebp
mov dword [esp + 0x1c], ecx
test al, 1
je 0x45a8d4
mov ecx, dword [edi + 0x11c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 1
lea ebx, [esp + 0x20]
test al, 2
je 0x45a8f7
mov edx, dword [edi + 0x11c]
mov dword [esp + 0x128], edx
mov dword [esp + 0x124], 1
lea ebp, [esp + 0x124]
mov ecx, dword [edi + 0x11c]
neg esi
sbb esi, esi
lea eax, [esp + 0x18]
and esi, eax
push esi
push 0
push ebp
push ebx
inc ecx
push ecx
call dword [sym.imp.WS2_32.dll_select]
pop ebp
test eax, eax
jg 0x45a92e
mov eax, 0xfffffff7
pop esi
mov dword [edi + 0x130], eax
pop edi
pop ebx
add esp, 0x218
ret
xor eax, eax
pop esi
pop edi
pop ebx
add esp, 0x218
ret
Function at 0x4a7a80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f433
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
push 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
push 0x4a7a00
push 0
push 0
call fcn.005e73dd
add esp, 0x18
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
push 1
push 3
lea ecx, [ebp - 0xe8]
call fcn.0048cf20
mov dword [ebp - 4], 0
push str..log
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004a8fb0
push eax
call fcn.0049a570
add esp, 8
push 0x6a5c08
mov ecx, dword [ebp - 0x2c]
add ecx, 0x20
call fcn.004a8ec0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xe8]
call fcn.0048ce80
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
call fcn.0048b7e0
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x20
call fcn.0048bc00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.00480ab0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret

Function at 0x4a8250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f536
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6c6f60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0048bfe0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0048bfe0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
push str.0.0B_S
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004a8ec0
mov edx, dword [ebp - 0x10]
xorps xmm0, xmm0
movsd qword [edx + 0x28], xmm0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
push str.0.0B_S
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.004a8ec0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4b4ba0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610386
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x140], 0x100000
mov dword [ebp - 0x13c], 0
lea ecx, [ebp - 0x94]
call fcn.004f02ba
mov dword [ebp - 4], 0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x4b4c23
mov byte [ebp - 0x119], 1
jmp 0x4b4c2a
mov byte [ebp - 0x119], 0
mov cl, byte [ebp - 0x119]
mov byte [ebp - 0x11a], cl
movzx edx, byte [ebp - 0x11a]
test edx, edx
je 0x4b4d05
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
call fcn.005ca4d0
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x6a7388]
divss xmm0, dword [0x6a7388]
divss xmm0, dword [0x6a7388]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x120]
add ecx, 0x4f8
call fcn.0047ca20
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004f0864
add esp, 0x10
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
call fcn.005ca4d0
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x6a7388]
divss xmm0, dword [0x6a7388]
divss xmm0, dword [0x6a7388]
mov ecx, dword [ebp - 0x120]
movss dword [ecx + 0x4d8], xmm0
lea ecx, [ebp - 0x94]
call fcn.004f08e4
push eax
mov edx, dword [ebp - 0x120]
mov eax, dword [edx + 0x37c]
mov ecx, dword [ebp - 0x120]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x37c]
mov eax, dword [edx + 0x2c]
call eax
push 0x68ee2c
mov ecx, dword [ebp - 0x120]
add ecx, 0x2c
call fcn.0047b430
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x128]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x128]
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x138]
call fcn.004f08e4
push eax
mov ecx, dword [ebp - 0x120]
add ecx, 0x4e0
call fcn.0047ca20
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.004f0864
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004f03ac
lea ecx, [ebp - 0x94]
call fcn.004f08e4
push eax
mov edx, dword [ebp - 0x120]
mov eax, dword [edx + 0x378]
mov ecx, dword [ebp - 0x120]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x378]
mov eax, dword [edx + 0x2c]
call eax
mov cl, byte [ebp - 0x11a]
mov byte [ebp - 0x121], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004f03ac
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret 4
Function at 0x4d5900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x4d5909
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d594c
mov eax, dword [ebp - 8]
jmp 0x4d59b2
cmp dword [ebp - 0xc], 1
je 0x4d595f
cmp dword [ebp - 0xc], 2
je 0x4d595f
mov eax, 0xd
jmp 0x4d59b2
cmp dword [ebp + 0xc], 0
je 0x4d59a6
cmp dword [ebp - 4], 0
je 0x4d5995
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4d598c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4d5993
mov eax, 0xd
jmp 0x4d59b2
jmp 0x4d59a6
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4d59c0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
lea ecx, [ebp - 0xc]
push ecx
push 0x6a6404
push 1
push 0
push 0x6a6458
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4d5a1a
mov edx, dword [ebp - 4]
push edx
push 0x69a34c
call fcn.004cbc00
add esp, 8
jmp 0x4d5a76
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4d5a4a
mov edx, dword [ebp - 4]
push edx
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.004cbc00
add esp, 8
jmp 0x4d5a76
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4d5a76
mov edx, dword [ebp - 4]
push edx
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.004cbc00
add esp, 8
cmp dword [ebp - 8], 0
je 0x4d5a8a
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0xc], 0
je 0x4d5a9e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4d7a90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6123eb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x23c], 0x104
mov dword [ebp - 0x240], 1
push 0x69b470
lea ecx, [ebp - 0x230]
call fcn.0048b540
mov byte [ebp - 4], 2
lea edx, [ebp - 0x234]
push edx
push 0xf003f
push 0
lea ecx, [ebp + 0x10]
call fcn.0047ca20
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d7b88
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x240]
push eax
push 0
lea ecx, [ebp + 0x28]
call fcn.0047ca20
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d7b7b
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x230]
call fcn.0047ca60
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0049cd00
mov edx, dword [ebp - 0x238]
or edx, 1
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.0047caf0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret

Function at 0x4d7bf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x218], 1
mov byte [ebp - 0x20d], 0
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp + 0xc]
call fcn.0047ca20
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4d7ca6
lea ecx, [ebp + 0x3c]
call fcn.0048b7c0
shl eax, 1
push eax
lea ecx, [ebp + 0x3c]
call fcn.0047ca20
push eax
mov ecx, dword [ebp - 0x218]
push ecx
push 0
lea ecx, [ebp + 0x24]
call fcn.0047ca20
push eax
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4d7c99
mov byte [ebp - 0x20d], 1
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [ebp - 0x20d]
mov byte [ebp - 0x20e], cl
lea ecx, [ebp + 0xc]
call fcn.0047caf0
lea ecx, [ebp + 0x24]
call fcn.0047caf0
lea ecx, [ebp + 0x3c]
call fcn.0047caf0
mov al, byte [ebp - 0x20e]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4d8b00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61251b
mov eax, dword fs:[0]
push eax
mov eax, 0x4044
call fcn.005ca540
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4048], 0
push 0x6764f7
lea ecx, [ebp - 0x403c]
call fcn.0048bf00
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x4024], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4022]
push ecx
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x4044], 0
mov dword [ebp - 0x404c], 0
lea edx, [ebp - 0x404c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x4044], eax
cmp dword [ebp - 0x4044], 0
je 0x4d8c8c
lea ecx, [ebp - 0x4024]
push ecx
mov edx, dword [ebp - 0x4044]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4d8c8c
mov dword [ebp - 0x4040], 0
mov dword [ebp - 0x4050], 0
lea ecx, [ebp - 0x4050]
push ecx
lea edx, [ebp - 0x4040]
push edx
push 0x69b5e0
lea eax, [ebp - 0x4024]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4d8c8c
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov word [ebp - 0x13], cx
mov byte [ebp - 0x11], cl
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
push 0x69b5e4
lea edx, [ebp - 0x24]
push edx
call fcn.004da790
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x403c]
call fcn.004a8ec0
lea ecx, [ebp - 0x403c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0048be10
mov edx, dword [ebp - 0x4048]
or edx, 1
mov dword [ebp - 0x4048], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x403c]
call fcn.0048bcd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4dc5b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612a76
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b4], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005e2ec0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.004d8b00
add esp, 8
mov dword [ebp - 0x2b8], eax
mov edx, dword [ebp - 0x2b8]
push edx
mov ecx, 0x6cf428
call fcn.0048bd20
lea ecx, [ebp - 0x248]
call fcn.0048bcd0
call fcn.004d7a40
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0
je 0x4dc66c
mov dword [ebp - 0x2b0], str._64bit
jmp 0x4dc676
mov dword [ebp - 0x2b0], str._32bit
lea eax, [ebp - 0x278]
push eax
call fcn.004d61f0
add esp, 4
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2b0]
push edx
mov eax, dword [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.004ca1d0
add esp, 0xc
mov dword [ebp - 0x2c8], eax
mov edx, dword [ebp - 0x2c8]
push edx
mov ecx, 0x6cf410
call fcn.0048bd20
lea ecx, [ebp - 0x260]
call fcn.0048bcd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.0048bcd0
lea eax, [ebp - 0x230]
push eax
call fcn.004d65c0
add esp, 4
mov dword [ebp - 4], 1
push 0
push 0x6a0cdc
lea ecx, [ebp - 0x230]
call fcn.0048b6e0
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0xffffffff
jne 0x4dc749
push 0x6a0d50
mov ecx, 0x6cf3e0
call fcn.004a8ec0
push str.Unknown
mov ecx, 0x6cf3c8
call fcn.004a8ec0
jmp 0x4dc7cb
mov ecx, dword [ebp - 0x2ac]
push ecx
push 0
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x230]
call fcn.0048b660
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
push eax
mov ecx, 0x6cf3c8
call fcn.0048bd20
lea ecx, [ebp - 0x290]
call fcn.0048bcd0
mov ecx, dword [0x6a56c0]
push ecx
mov edx, dword [ebp - 0x2ac]
add edx, 1
push edx
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.0048b660
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
push ecx
mov ecx, 0x6cf3e0
call fcn.0048bd20
lea ecx, [ebp - 0x2a8]
call fcn.0048bcd0
call sym.Setup.exe_CreateExportObj
mov dword [0x6cf15c], eax
cmp dword [0x6cf128], 0
jne 0x4dc7f4
push str.UserLogMutex
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [0x6cf128], eax
push 0
push 0
mov edx, dword [ebp - 0x2b4]
push edx
push 0x4dccb0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0048bcd0
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x51ec90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x434
call fcn.005ca540
mov eax, dword [0x6c6f60]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0xc], ebx
test edi, edi
jne 0x51ecd5
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
push edi
call fcn.005f5b94
add esp, 8
test eax, eax
js 0x51ecbe
mov eax, 8
call fcn.005ca540
xorps xmm0, xmm0
lea eax, [esp + 0x1c]
movsd qword [esp], xmm0
push 0x24
push eax
call fcn.0051e9d0
mov esi, dword [ebp + 0xc]
add esp, 0x10
test esi, esi
je 0x51ecbe
push 0x6a6708
push edi
call fcn.005ec2cc
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x51eda0
mov edi, 0x400
test esi, esi
jle 0x51ed33
cmp esi, edi
cmovl edi, esi
push eax
push edi
lea eax, [esp + 0x40]
push 1
push eax
call fcn.005f6105
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x51ed81
movd xmm0, ebx
mov eax, 8
cvtdq2pd xmm0, xmm0
call fcn.005ca540
lea eax, [esp + 0x40]
movsd qword [esp], xmm0
push edi
push eax
call fcn.0051e9d0
add dword [esp + 0x1c], ebx
add esp, 0x10
mov eax, dword [esp + 0x10]
test esi, esi
jle 0x51ed25
sub esi, edi
test esi, esi
jg 0x51ed25
push dword [esp + 0x10]
call fcn.005e7e28
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.00438a20
mov ebx, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x43c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x5c8cd0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x194]
push eax
push 0x101
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x6a5701
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x5c8d53
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
cmp byte [edx], 0
jne 0x5c8d23
xor ecx, ecx
jmp 0x5c8d3a
mov ecx, edx
push ebx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5c8d30
sub ecx, ebx
pop ebx
push ecx
push edx
mov ecx, esi
call fcn.00491030
cmp edi, esi
je 0x5c8d53
push 0xffffffffffffffff
push 0
push esi
mov ecx, edi
call fcn.004910b0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.005c950e
mov esp, ebp
pop ebp
ret 4