joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428c70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4e38
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xc8
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x11], 0
cmp dword [ebp + 0xc], 0
jne 0x428cb3
mov dword [ebp + 0xc], 0x20
mov dword [ebp - 4], 0
push 0x44
push 0
lea eax, [ebp - 0x98]
push eax
call fcn.0058c670
add esp, 0xc
mov dword [ebp - 0x98], 0x44
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], bind
mov dword [ebp - 0x84], bind
mov dword [ebp - 0x80], bind
mov dword [ebp - 0x7c], bind
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 1
xor ecx, ecx
mov word [ebp - 0x68], cx
xor edx, edx
mov word [ebp - 0x66], dx
mov dword [ebp - 0x64], 0
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xb4], 0xc
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.0042b590
add esp, 8
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
call fcn.004040f0
push eax
lea ecx, [ebp - 0x34]
call fcn.00404040
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x98]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
push 1
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0x34]
call fcn.004040f0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x11], al
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x428e83
cmp dword [ebp + 0x14], 0
je 0x428df8
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xa8]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x428e5d
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb8]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
je 0x428e5d
push 0x5b8d80
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004325f0
add esp, 8
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x11], dl
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00432610
add esp, 4
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.00432610
add esp, 4
cmp dword [ebp + 0x14], 0
jne 0x428e81
mov edx, dword [ebp - 0xa8]
push edx
call fcn.00432610
add esp, 4
jmp 0x428e92
cmp dword [ebp + 0x14], 0
je 0x428e92
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
lea ecx, [ebp - 0x34]
call fcn.004040b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.004040b0
jmp 0x428eb5
mov dword [ebp - 4], 0xffffffff
movzx eax, byte [ebp - 0x11]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret
Function at 0x429570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4e00
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x150], 0
push 0x5f04f2
lea ecx, [ebp - 0x4c]
call fcn.00404040
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x14c], 0
push 0xff
push 0
lea eax, [ebp - 0x14b]
push eax
call fcn.0058c670
add esp, 0xc
lea ecx, [ebp - 0x14c]
push ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x100
jae 0x429647
mov edx, dword [ebp - 0x30]
mov byte [ebp + edx - 0x14c], 0
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404040
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x17c]
lea esi, [ebp - 0x4c]
call fcn.004040a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004040b0
lea edi, [ebp - 0x4c]
mov eax, dword [ebp + 8]
call fcn.00404080
mov edx, dword [ebp - 0x150]
or edx, 1
mov dword [ebp - 0x150], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004040b0
mov eax, dword [ebp + 8]
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.00587964
mov esp, ebp
pop ebp
ret
Function at 0x429a10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5be3
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xb4
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x4d], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00405ca0
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00405ca0
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 2
mov byte [ebp - 0x6d], 0
movzx edx, byte [ebp - 0x6d]
test edx, edx
jne 0x429be7
lea eax, [ebp - 0x6c]
push eax
call fcn.00428aa0
add esp, 4
test eax, eax
jne 0x429ab6
push 0
lea eax, [ebp - 0x6c]
call fcn.004040f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x429ab6
jmp 0x429be7
lea eax, [ebp - 0x6c]
call fcn.00404100
sub eax, 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.004331c0
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x429ae0
lea edx, [ebp - 0x6c]
push edx
mov eax, 0x5f6a84
call fcn.0040a000
lea eax, [ebp - 0x8c]
call fcn.00404100
test eax, eax
jbe 0x429bda
push 0
push 0x5f6a88
lea ecx, [ebp - 0x8c]
call fcn.00433240
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
cmp eax, dword [0x5ee654]
je 0x429bb9
mov ecx, dword [ebp - 0x90]
add ecx, 1
push ecx
xor ecx, ecx
lea esi, [ebp - 0x30]
lea edx, [ebp - 0x8c]
call fcn.0040a030
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xbc]
lea esi, [ebp - 0x6c]
call fcn.00409ff0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004040b0
mov eax, dword [0x5ee654]
push eax
mov ecx, dword [ebp - 0x90]
add ecx, 1
lea esi, [ebp - 0x4c]
lea edx, [ebp - 0x8c]
call fcn.0040a030
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0xc4]
lea esi, [ebp - 0x8c]
call fcn.004040a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.004040b0
jmp 0x429bd8
lea eax, [ebp - 0x8c]
lea esi, [ebp - 0x6c]
call fcn.00409ff0
lea edx, [ebp - 0x8c]
push edx
mov edx, 0x5f04f3
call fcn.00409fc0
jmp 0x429be2
mov byte [ebp - 0x6d], 1
mov byte [ebp - 0x4d], 1
jmp 0x429a80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.004040b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.004040b0
jmp 0x429c11
mov dword [ebp - 4], 0xffffffff
movzx eax, byte [ebp - 0x4d]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret
Function at 0x432620
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x142c
call fcn.0058e010
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x1420], 0
push 0x3ff
push 0
lea eax, [ebp - 0x141f]
push eax
call fcn.0058c670
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43266e
xor eax, eax
jmp 0x4327c4
push 0x3ff
lea edx, [ebp - 0x1420]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43268f
xor eax, eax
jmp 0x4327c4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1420]
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x1424], eax
cmp dword [ebp - 0x1424], 0
jne 0x4326b6
xor eax, eax
jmp 0x4327c4
mov byte [ebp - 0x1020], 0
push 0xfff
push 0
lea eax, [ebp - 0x101f]
push eax
call fcn.0058c670
add esp, 0xc
lea ecx, [ebp - 0x1020]
push ecx
mov edx, dword [ebp - 0x1424]
push edx
push 0
lea eax, [ebp - 0x1420]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x4326fb
xor eax, eax
jmp 0x4327c4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0x5f7b38
lea eax, [ebp - 0x1020]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x432720
xor eax, eax
jmp 0x4327c4
cmp dword [ebp - 4], 0
jne 0x43272d
xor eax, eax
jmp 0x4327c4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x1428], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x142c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0xc], 0
je 0x43278f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
cmp dword [ebp + 0x10], 0
je 0x4327a0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1428]
mov dword [eax], ecx
cmp dword [ebp + 0x14], 0
je 0x4327b1
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x142c]
mov dword [edx], eax
cmp dword [ebp + 0x18], 0
je 0x4327bf
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, 1
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret
Function at 0x432890
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5a8b
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
push 0x5f082a
lea ecx, [ebp - 0x234]
call fcn.00404040
mov dword [ebp - 4], 0
mov dword [ebp - 0x218], 0x1ff
mov byte [ebp - 0x214], 0
push 0x1ff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.0058c670
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x43292e
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x214]
call fcn.00409fc0
lea edi, [ebp - 0x234]
mov eax, dword [ebp + 8]
call fcn.00404080
mov ecx, dword [ebp - 0x238]
or ecx, 1
mov dword [ebp - 0x238], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.004040b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret

Function at 0x432980
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5a8b
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
push 0x5f082b
lea ecx, [ebp - 0x234]
call fcn.00404040
mov dword [ebp - 4], 0
mov dword [ebp - 0x218], 0x1ff
mov byte [ebp - 0x214], 0
push 0x1ff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.0058c670
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x432a1e
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x214]
call fcn.00409fc0
lea edi, [ebp - 0x234]
mov eax, dword [ebp + 8]
call fcn.00404080
mov ecx, dword [ebp - 0x238]
or ecx, 1
mov dword [ebp - 0x238], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.004040b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret
Function at 0x432a70
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], 0
push 0x3c
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.0058c670
add esp, 0xc
mov dword [ebp - 0x48], 0x40
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x432b0b
cmp dword [ebp + 8], 0
je 0x432ade
push 0
push 0x400
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.00596730
push 0
push 0x400
push edx
push eax
call fcn.00596730
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp dword [ebp + 0xc], 0
je 0x432b0b
push 0
push 0x400
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.00596730
push 0
push 0x400
push edx
push eax
call fcn.00596730
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret

Function at 0x434ce0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4c40
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1fa4
call fcn.0058e010
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1fac], ecx
mov dword [ebp - 0x1f94], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00405ca0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1fac]
add ecx, 0x68
push ecx
call fcn.00428280
add esp, 4
test eax, eax
je 0x434e13
mov byte [ebp - 4], 1
mov byte [ebp - 0x1f90], 0
push 0x1f3f
push 0
lea edx, [ebp - 0x1f8f]
push edx
call fcn.0058c670
add esp, 0xc
mov eax, dword [ebp - 0x1fac]
add eax, 0x68
call fcn.004040f0
push eax
push 0x1f40
lea eax, [ebp - 0x1f90]
push eax
mov eax, dword [ebp + 0x14]
call fcn.004040f0
push eax
mov eax, dword [ebp + 0x10]
call fcn.004040f0
push eax
mov eax, dword [ebp + 0xc]
call fcn.004040f0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ebp + ecx - 0x1f90], 0
lea edx, [ebp - 0x1f90]
push edx
lea ecx, [ebp - 0x30]
call fcn.00404040
mov dword [ebp - 0x1fb0], eax
mov eax, dword [ebp - 0x1fb0]
mov dword [ebp - 0x1fb4], eax
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x1fb4]
lea esi, [ebp - 0x4c]
call fcn.004040a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004040b0
jmp 0x434e0c
mov dword [ebp - 4], 0
lea edi, [ebp - 0x4c]
mov eax, dword [ebp + 8]
call fcn.00404080
mov ecx, dword [ebp - 0x1f94]
or ecx, 1
mov dword [ebp - 0x1f94], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004040b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret 0x10
Function at 0x434ef0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4c00
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x804c
call fcn.0058e010
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x805c], ecx
push 0x8004
push 0
mov eax, dword [ebp - 0x805c]
add eax, 0x1088
push eax
call fcn.0058c670
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x805c]
add ecx, 0x68
push ecx
call fcn.00428280
add esp, 4
test eax, eax
je 0x435085
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x805c]
add eax, 0x68
call fcn.004040f0
push eax
push 0x8000
lea edx, [ebp - 0x8020]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7fff
jae 0x435085
lea eax, [ebp - 0x8020]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x8024], 0
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x435073
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x8040]
call fcn.00404040
push pe_nt_image_headers32
push 0
mov ecx, dword [ebp - 0x8024]
shl ecx, 8
mov edx, dword [ebp - 0x805c]
lea eax, [edx + ecx + 0x108c]
push eax
call fcn.0058c670
add esp, 0xc
push 0xff
lea eax, [ebp - 0x8040]
call fcn.004040f0
push eax
mov ecx, dword [ebp - 0x8024]
shl ecx, 8
mov edx, dword [ebp - 0x805c]
lea eax, [edx + ecx + 0x108c]
push eax
call fcn.00589270
add esp, 0xc
mov ecx, dword [ebp - 0x8024]
add ecx, 1
mov dword [ebp - 0x8024], ecx
lea eax, [ebp - 0x8040]
call fcn.00404100
mov edx, dword [ebp - 0x14]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x8024], 0x80
jne 0x435063
lea ecx, [ebp - 0x8040]
call fcn.004040b0
jmp 0x435073
lea ecx, [ebp - 0x8040]
call fcn.004040b0
jmp 0x434fb3
mov ecx, dword [ebp - 0x805c]
mov edx, dword [ebp - 0x8024]
mov dword [ecx + 0x1088], edx
jmp 0x435094
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x805c]
add eax, 0x1088
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret
Function at 0x435520
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b71db
mov eax, dword fs:[0]
push eax
mov eax, 0x1044
call fcn.0058e010
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1050], ecx
mov ecx, dword [ebp - 0x1050]
add ecx, 0x908c
call fcn.00433520
mov dword [ebp - 0x1018], 0x1000
mov byte [ebp - 0x1014], 0
push 0xfff
push 0
lea eax, [ebp - 0x1013]
push eax
call fcn.0058c670
add esp, 0xc
mov eax, dword [ebp - 0x1050]
add eax, 0x68
call fcn.004040f0
push eax
push 0x1000
lea ecx, [ebp - 0x1014]
push ecx
push 0x5f047f
push 0
mov eax, dword [ebp + 8]
call fcn.004040f0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x4355ce
xor al, al
jmp 0x43567c
lea edx, [ebp - 0x1014]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1020], 0
jmp 0x4355f5
mov eax, dword [ebp - 0x1020]
add eax, 1
mov dword [ebp - 0x1020], eax
mov ecx, dword [ebp - 0x1020]
cmp ecx, dword [ebp - 0x10]
jge 0x43567a
mov edx, dword [ebp - 0x101c]
push edx
lea ecx, [ebp - 0x103c]
call fcn.00404040
mov dword [ebp - 4], 0
lea eax, [ebp - 0x103c]
call fcn.00404100
mov ecx, dword [ebp - 0x101c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x101c], edx
lea eax, [ebp - 0x103c]
call fcn.00404100
add eax, dword [ebp - 0x1020]
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x103c]
push eax
mov ecx, dword [ebp - 0x1050]
add ecx, 0x908c
call fcn.00433420
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x103c]
call fcn.004040b0
jmp 0x4355e6
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret 4

Function at 0x436120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x43615e
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 1
mov edx, dword [ebp - 4]
add edx, 0x18
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x435aa0
push 0
push 0
call fcn.0058a2a4
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov esp, ebp
pop ebp
ret
Function at 0x441040
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6f70
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x29c
mov eax, dword [0x62dc50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 4], 0
mov eax, 0x202
mov word [ebp - 0x1e4], ax
lea ecx, [ebp - 0x1e0]
push ecx
movzx edx, word [ebp - 0x1e4]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 0
je 0x441143
mov byte [ebp - 0x268], 0
push 0x7f
push 0
lea eax, [ebp - 0x267]
push eax
call fcn.0058c670
add esp, 0xc
mov ecx, dword [ebp - 0x1e8]
push ecx
push str.Init_WSAsocket_failed__error_code_:__u
lea edx, [ebp - 0x268]
push edx
call fcn.005890f7
add esp, 0xc
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404040
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 4], 1
push 0xc6
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x26c], esp
push 0x5f2a10
call fcn.00404040
mov dword [ebp - 0x2a4], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x29c]
call fcn.00441ac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004040b0
xor eax, eax
jmp 0x4411e7
movzx edx, word [ebp - 0x1e0]
and edx, 0xff
movzx eax, dl
cmp eax, 2
jne 0x441170
movzx ecx, word [ebp - 0x1e0]
shr ecx, 8
and ecx, 0xff
movzx edx, cl
cmp edx, 2
je 0x4411cc
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.Soket_version_is_not_support
lea ecx, [ebp - 0x4c]
call fcn.00404040
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 2
push 0xcc
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x270], esp
push str.VXI_HttpServer::InitServer
call fcn.00404040
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x29c]
call fcn.00441ac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004040b0
xor eax, eax
jmp 0x4411e7
jmp 0x4411db
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00587964
mov esp, ebp
pop ebp
ret
Function at 0x4425d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3d40
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x62dc50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
push 0x1fa0
push 0
mov edx, dword [ebp + 0xc]
add edx, 0x1c
push edx
call fcn.0058c670
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x14], 0x1f9f
mov ecx, dword [ebp + 0xc]
add ecx, 0x1c
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1fbc], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push 1
mov ecx, dword [ebp + 0xc]
add ecx, 0x14
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_WSARecv]
jmp 0x442690
mov dword [ebp - 4], 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 8

Function at 0x4496f0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
call fcn.00404100
test eax, eax
ja 0x44971e
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x24]
mov dword [ecx + 4], 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x24]
call fcn.004497d0
jmp 0x44978b
mov eax, dword [ebp + 8]
call fcn.004040f0
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x24]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 4], edx
cmp dword [ebp - 0x28], 0xffffffff
jne 0x44977d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x449770
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x24]
mov eax, dword [eax]
mov dword [edx + 4], eax
jmp 0x44977d
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x44978b
mov ecx, dword [ebp - 0x24]
add ecx, 4
mov eax, dword [ebp + 8]
call fcn.004040e0
mov esp, ebp
pop ebp
ret 4