joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413a10
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4bcbff
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esi], vtable.CWebLauncherDlg.0
mov dword [esi + 0x74], vtable.CWebLauncherDlg.1.0
mov dword [esp + 0x1c], 4
mov eax, dword [esi + 0x1c0]
xor ebx, ebx
cmp eax, ebx
je 0x413a61
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [esi + 0x190]
cmp edi, ebx
je 0x413a89
mov ebp, dword [edi]
cmp ebp, ebx
je 0x413a80
push ebp
call fcn.00423f00
push ebp
call fcn.00457af4
add esp, 4
push edi
call fcn.00457af4
add esp, 4
xor ecx, ecx
push ecx
mov ecx, dword [0x4efb20]
mov eax, method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_52
push eax
push esi
call fcn.0041b9b0
xor ecx, ecx
push ecx
mov ecx, dword [0x4efb20]
mov eax, 0x415c80
push eax
push esi
call fcn.0041ba40
xor ecx, ecx
push ecx
mov ecx, dword [0x4efb20]
mov eax, fcn.00414570
push eax
push esi
call fcn.0041bad0
xor ecx, ecx
push ecx
mov ecx, dword [0x4efb20]
mov eax, 0x4143f0
push eax
push esi
call fcn.0041bb60
xor ecx, ecx
push ecx
mov ecx, dword [0x4efb20]
mov eax, 0x413e90
push eax
push esi
call fcn.0041bbf0
lea edi, [esi + 0x1cc]
push edi
call fcn.0041b540
mov eax, dword [edi + 4]
push eax
call fcn.00457af4
add esp, 4
lea eax, [esi + 0x1b4]
mov dword [edi + 4], ebx
mov byte [esp + 0x1c], 2
call fcn.0040ba20
mov edi, 0x10
cmp dword [esi + 0x1ac], edi
jb 0x413b39
mov eax, dword [esi + 0x198]
push eax
call fcn.00457af4
add esp, 4
mov ebp, 0xf
mov dword [esi + 0x1ac], ebp
mov dword [esi + 0x1a8], ebx
mov byte [esi + 0x198], bl
mov eax, dword [esi + 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x188], edi
jb 0x413b74
mov eax, dword [esi + 0x174]
push eax
call fcn.00457af4
add esp, 4
mov dword [esi + 0x188], ebp
mov dword [esi + 0x184], ebx
mov byte [esi + 0x174], bl
cmp dword [esi + 0x16c], edi
jb 0x413b9d
mov eax, dword [esi + 0x158]
push eax
call fcn.00457af4
add esp, 4
mov dword [esi + 0x16c], ebp
mov dword [esi + 0x168], ebx
mov ecx, esi
mov byte [esi + 0x158], bl
mov dword [esp + 0x1c], 0xffffffff
call fcn.00420870
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x413be0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bd100
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4e6f00]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00420ae0
call fcn.00408f60
lea eax, [esp + 0x50]
push eax
call fcn.00441e70
add esp, 4
push eax
lea ecx, [esp + 0x38]
push str.file:___
xor ebx, ebx
push ecx
mov dword [esp + 0xa4], ebx
call fcn.0040d910
add esp, 0xc
push str...cfgwebluncher_loading.html
push eax
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0xa4], 1
call fcn.0040d7a0
add esp, 0xc
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jb 0x413c85
mov eax, dword [esp + 0x38]
push eax
call fcn.00457af4
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x98], 4
cmp dword [esp + 0x68], esi
jb 0x413cb0
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00457af4
add esp, 4
push 0x148
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.00457ac4
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x98], 5
je 0x413cf7
cmp dword [esp + 0x84], esi
mov ecx, dword [esp + 0x70]
jae 0x413cee
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.004205c0
jmp 0x413cf9
xor eax, eax
mov byte [esp + 0x98], 4
push 0x15
mov dword [edi + 0x1d8], eax
push str.rider:__command.exit_
lea ecx, [esp + 0x20]
mov dword [eax + 0x114], 0xc8
mov dword [eax + 0x118], 0x32
mov esi, 0x41ae90
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004043c0
mov byte [esp + 0x98], 6
sub esp, 0xc
mov ecx, esi
mov esi, esp
mov dword [esp + 0x1c], esp
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [eax + 0xc], ecx
call fcn.0041d570
mov eax, dword [edi + 0x1d8]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00420910
mov esi, 0x10
mov byte [esp + 0x98], 4
cmp dword [esp + 0x30], esi
jb 0x413da9
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00457af4
add esp, 4
mov ecx, dword [edi + 0x1d8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x134]
push edi
push 0x82
call eax
mov ecx, dword [edi + 0x1d8]
push 5
call fcn.0045f9a7
push edi
push ebx
push 0x415350
call fcn.004794a6
add esp, 0xc
cmp dword [esp + 0x84], esi
jb 0x413df1
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00457af4
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00477f65
mov esp, ebp
pop ebp
ret
Function at 0x422340
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4b9a85
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push 0x4c9beb
mov ecx, esi
call fcn.00410dd0
xor ebx, ebx
push 0x4c9beb
lea ecx, [esi + 4]
mov dword [esp + 0x18], ebx
call fcn.00410dd0
push 0x4c9beb
lea ecx, [esi + 8]
mov byte [esp + 0x18], 1
call fcn.00410dd0
push 0x4c9beb
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 2
call fcn.00410dd0
push 0x4c9beb
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 3
call fcn.00410dd0
push 0x4c9beb
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 4
call fcn.00410dd0
push 0x4c9beb
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 5
call fcn.00410dd0
mov byte [esp + 0x14], 6
push 0x4c9beb
lea ecx, [esi + 0x24]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.00410dd0
mov byte [esp + 0x14], 7
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x4c9beb
mov byte [ecx + 4], bl
call fcn.004043c0
mov dword [esi + 0x64], 0xf
mov dword [esi + 0x60], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x422d80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ba4bb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
push 0xffffffffffffffff
lea ecx, [esi + 8]
lea eax, [edi + 8]
push 0
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.004042e0
mov dword [esp + 0x14], 0
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
lea edx, [esi + 0x38]
lea ecx, [edi + 0x38]
push edx
mov dword [esi + 0x34], eax
call fcn.004123f0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x431390
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4e6f00]
xor eax, esp
mov dword [esp + 0x60], eax
push edi
jmp 0x4313b7
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
jmp 0x4313f7
mov eax, ecx
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x431400
sub eax, edi
push ecx
lea edi, [esp + 0xc]
call fcn.00430be0
add esp, 4
mov ecx, edi
call fcn.00430c70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esi + 8], edx
pop edi
mov dword [esi + 0xc], eax
xor ecx, esp
mov byte [esi + 0x10], 0
call fcn.00477f65
mov esp, ebp
pop ebp
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4ba27b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], esi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, 0xf
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], ebx
mov byte [esi + 8], bl
mov byte [esp + 0x14], 1
mov dword [esi + 0x28], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
mov dword [esi], vtable.TCPConnector.0
mov byte [esi + 0x20], bl
push ebx
lea edx, [esp + 0x24]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004042e0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
lea ecx, [esi + 0x88]
push ecx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
call fcn.00478d6a
add esp, 4
cmp dword [esp + 0x34], 0x10
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x24], ebx
jb 0x4321df
mov edx, dword [esp + 0x20]
push edx
call fcn.00457af4
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret 0x2c
Function at 0x432200
Capabilities:
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b8d4b
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x4e6f00]
xor eax, esp
mov dword [esp + 0x19c], eax
push ebx
push esi
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x24]
or ebx, 0xffffffff
cmp eax, ebx
je 0x432279
test eax, eax
je 0x432279
push 4
lea ecx, [esp + 0x14]
push ecx
push 0xffffff7f
push 0xffff
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x4c9beb
lea ecx, [esp + 0x10]
mov dword [esi + 0x24], 0
call fcn.00410dd0
lea eax, [esp + 0x14]
push eax
push 0x202
mov dword [esp + 0x1c0], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4322d5
mov dword [esp + 0x1b8], ebx
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4322d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x432304
mov ecx, esi
call fcn.00432330
mov esi, eax
mov dword [esp + 0x1b8], ebx
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x432302
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.00477f65
mov esp, ebp
pop ebp
ret
Function at 0x432330
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x24
mov eax, dword [0x4e6f00]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov esi, ecx
push 0x4c9beb
lea ecx, [esp + 0x10]
mov dword [esi + 0x2c], 0
call fcn.00410dd0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4323ab
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x43239f
test eax, eax
je 0x43239f
push 4
lea ecx, [esp + 0x14]
push ecx
push 0xffffff7f
push 0xffff
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x24], 0
jmp 0x432439
cmp dword [esi + 0x48], 0x10
mov word [esp + 0x14], 2
jb 0x4323bd
mov eax, dword [esi + 0x34]
jmp 0x4323c0
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
movzx ecx, word [esi + 0x28]
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esp + 0x18]
mov word [esp + 0x16], ax
push 0x10
lea eax, [esp + 0x18]
push eax
push edi
mov dword [esi + 0x2c], edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x43242e
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esi + 0x24], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432418
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00477f65
add esp, 0x24
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.00432d20
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432459
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00477f65
add esp, 0x24
ret
Function at 0x432990
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
sub esp, 8
push esi
mov esi, eax
call fcn.0045e1ec
test eax, eax
jne 0x4329a9
push 0x80004005
call fcn.004011a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push edi
call eax
mov edx, dword [esi + 0x24]
push 0
push 4
lea ecx, [esp + 0x10]
push ecx
mov edi, eax
push edx
add edi, 0x10
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
je 0x432a51
mov eax, 1
cmp dword [esi + 0x54], eax
jne 0x4329ef
add dword [esi + 0x64], eax
mov dword [esi + 0x90], 2
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x432a25
test eax, eax
je 0x432a25
push 4
lea ecx, [esp + 0x10]
push ecx
push 0xffffff7f
push 0xffff
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edx, dword [esi + 0x24]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [edi - 0x10]
mov dword [esi + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432a48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov esi, dword [esp + 8]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432a71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x432d60
Capabilities:
Get socket status

Disassembly:
sub esp, 0x114
mov eax, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x50]
lea edx, [esp]
push edx
push 0
mov dword [esp + 8], ecx
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
push ecx
add eax, 1
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0
call dword [sym.imp.WS2_32.dll_select]
xor edx, edx
test eax, eax
setle dl
mov eax, edx
add esp, 0x114
ret

Function at 0x4348e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b95a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4e6f00]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
lea esi, [esp + 0x10]
mov dword [esp + 0xc], ebx
call fcn.00434a10
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov esi, 0x10
cmp dword [esp + 0x28], esi
jae 0x43493a
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov ecx, edi
mov byte [edi + 4], bl
call fcn.004043c0
cmp dword [esp + 0x28], esi
jb 0x434963
mov eax, dword [esp + 0x14]
push eax
call fcn.00457af4
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00477f65
add esp, 0x30
ret
Function at 0x4374f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4bace8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4e6f00]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push ecx
push edx
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
mov dword [esp + 0x88], 0
push 0
lea edx, [esp + 0x98]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.004042e0
mov ecx, dword [esp + 0x8c]
mov esi, edi
call fcn.00432100
mov byte [esp + 0x58], 1
lea esi, [esp + 0x14]
mov dword [edi], vtable.TCPSecurityConnector.0
call fcn.00437480
push str.Serverconfig.ini
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x64], 2
call fcn.0040d7a0
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x2c], esi
jb 0x4375be
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00457af4
add esp, 4
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
jae 0x4375cc
lea eax, [esp + 0x34]
push eax
push 0
push str.NeedEncrypt
push str.Security
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
setne dl
cmp dword [esp + 0x48], esi
mov byte [edi + 0x7b5], dl
jb 0x4375fd
mov eax, dword [esp + 0x34]
push eax
call fcn.00457af4
add esp, 4
cmp dword [esp + 0x7c], esi
jb 0x437610
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00457af4
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00477f65
add esp, 0x54
ret 0x28
Function at 0x43b090
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.0043b0f0
movzx ecx, al
test ecx, ecx
jne 0x43b0ac
jmp 0x43b0dd
push 0x800
push 0x4ee8d0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x4ee8d0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esp, ebp
pop ebp
ret 4

Function at 0x441f20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3968
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x4e6f00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], 0
mov byte [ebp - 0x154], 0
push 0x103
push 0
lea eax, [ebp - 0x153]
push eax
call fcn.0047c580
add esp, 0xc
push 0x4c0f71
lea ecx, [ebp - 0x48]
call fcn.00402f30
mov dword [ebp - 4], 1
push 0x4c0f72
lea ecx, [ebp - 0x2c]
call fcn.00402f30
mov byte [ebp - 4], 2
push 0x104
lea ecx, [ebp - 0x154]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404490
lea ecx, [ebp - 0x2c]
call fcn.00422330
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [0x4c9d78]
push ecx
push 0x4c1070
lea ecx, [ebp - 0x2c]
call fcn.0041b360
add eax, 1
push eax
push 0
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x48]
call fcn.004042e0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402f70
mov ecx, dword [ebp - 0x158]
or ecx, 1
mov dword [ebp - 0x158], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402fa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402fa0
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.00477f65
mov esp, ebp
pop ebp
ret
Function at 0x4431c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.0040da00
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00443b00
add esp, 4
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3c]
push eax
call fcn.0040da00
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
push eax
call fcn.00443b00
add esp, 4
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
push eax
call fcn.00443b00
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
add edx, 0xc
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00443b00
add esp, 4
mov edx, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
call fcn.00443b00
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00443b00
add esp, 4
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push 4
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
mov dword [eax], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x443290
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.0040da00
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00443b00
add esp, 4
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3c]
push eax
call fcn.0040da00
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x8c
mov dword [ebp - 0x10], eax
push 0
call fcn.00443330
add esp, 4
push eax
call fcn.0047a185
add esp, 4
call fcn.0047a192
add eax, 1
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 8]
push ecx
push 0x40
push 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x443350
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.0040da00
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00443b00
add esp, 4
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x3c]
push eax
call fcn.0040da00
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x84
mov dword [ebp - 0x10], eax
push 0
call fcn.00443330
add esp, 4
push eax
call fcn.0047a185
add esp, 4
call fcn.0047a192
add eax, 1
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 8]
push ecx
push 0x40
push 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret