joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419570
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov byte [ebp - 5], 1
mov eax, dword [ebp + 0xc]
cdq
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov byte [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov byte [ebp - 0x2b], al
movsx eax, byte [ebp + 8]
push eax
push str._c:_
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x4196a7
mov dword [ebp - 0x38], 0x40000000
push 0
push 0x40000000
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00461de0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
push 0
push 0x40000000
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00461de0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
push 0
push 0x40000000
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00461de0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0xc]
jg 0x4196a7
jl 0x41963f
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x10]
jae 0x4196a7
mov byte [ebp - 0x450], 0
push 0x3ff
push 0
lea eax, [ebp - 0x44f]
push eax
call fcn.0045f1b0
add esp, 0xc
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
push str.CheckDiskSpace
push str._ERROR___s_i64FreeGigaBytesToCaller_I64d___i64TotalGigaBytes_I64d___i64FreeGigaBytes_I64d
push 0x400
lea eax, [ebp - 0x450]
push eax
call fcn.0045ef32
add esp, 0x28
mov byte [ebp - 5], 0
lea eax, [ebp - 0x450]
push eax
push 0xa
call fcn.00419350
add esp, 8
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret
Function at 0x422350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488f6d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4a0270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CBaseNetworkMgr.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00426a90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00427f30
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.00426430
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x1dc
call fcn.00426430
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x358
call fcn.00424330
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x388], 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00428010
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x390], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x394], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x398], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x39c], 0
mov eax, dword [ebp - 0x10]
add eax, 0x48
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 0x10]
add eax, 0x364
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423180
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48906b
mov eax, dword fs:[0]
push eax
mov eax, 0x4500
call fcn.00460980
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0
je 0x4231ca
mov ecx, dword [ebp + 8]
call fcn.00425d50
movzx eax, al
test eax, eax
jne 0x4231cf
jmp 0x42337e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 0xc], 0
jne 0x423209
mov word [ebp - 0x1c], 1
mov word [ebp - 0x1a], 0
push 4
lea eax, [ebp - 0x1c]
push eax
push 0x80
push 0xffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x8840
call fcn.00424260
movzx eax, al
test eax, eax
jne 0x42325e
mov ecx, dword [ebp + 8]
add ecx, 0x8840
call fcn.004242a0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004222b0
mov ecx, dword [ebp + 8]
add ecx, 0x8840
call fcn.00424310
jmp 0x423220
mov ecx, dword [ebp + 8]
call fcn.00425dd0
push 0x490314
push 0x1c
call fcn.00419350
add esp, 8
lea ecx, [ebp - 0x44c8]
call fcn.00426ea0
mov dword [ebp - 4], 0
push 0xff
lea ecx, [ebp - 0x44c8]
call fcn.00427780
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
push eax
lea ecx, [ebp - 0x44c8]
call fcn.004277a0
push 0
push 0
lea ecx, [ebp - 0x44c8]
call fcn.00427360
mov ecx, dword [ebp - 0x14]
call fcn.004233a0
mov dword [ebp - 0x44cc], eax
cmp dword [ebp - 0x44cc], 0
jne 0x4232fd
push str._CBaseNetworkMgr::CloseClient__PopCloseBuffer___failed_
push 3
push 0x5bf648
call fcn.00419fd0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c8]
call fcn.00427330
jmp 0x42337e
lea ecx, [ebp - 0x44c8]
call fcn.00412180
mov ecx, dword [ebp - 0x44cc]
mov dword [ecx + 0x4400], eax
mov eax, dword [ebp - 0x44cc]
mov ecx, dword [eax + 0x4400]
push ecx
lea ecx, [ebp - 0x44c8]
call fcn.00412160
push eax
mov edx, dword [ebp - 0x44cc]
push edx
call fcn.0045f360
add esp, 0xc
mov eax, dword [ebp - 0x44cc]
mov dword [eax + 0x4404], 0
mov eax, dword [ebp - 0x44cc]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x4408], ecx
push 1
mov eax, dword [ebp - 0x44cc]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00423d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c8]
call fcn.00427330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret 8
Function at 0x4233d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x42340c
mov ecx, dword [ebp + 8]
call fcn.00425d50
movzx eax, al
test eax, eax
jne 0x423413
xor eax, eax
jmp 0x42349d
push 0x14
push 0
mov eax, dword [ebp + 8]
add eax, 8
push eax
call fcn.0045f1b0
add esp, 0xc
push 0
mov eax, dword [ebp + 8]
add eax, 8
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
add eax, 0x1c
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
call fcn.00425dd0
cmp dword [ebp - 0x14], 0xffffffff
jne 0x423498
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3e5
je 0x423498
mov eax, dword [ebp - 0x18]
push eax
push str.Recv_Request_Error_WSARecv_Function_Failed_:__d_n
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0045ee9d
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
call fcn.0044f110
xor eax, eax
jmp 0x42349d
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret 4
Function at 0x423a90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x423ae1
mov ecx, dword [ebp + 8]
call fcn.00425d50
movzx eax, al
test eax, eax
jne 0x423ae6
jmp 0x423c11
mov ecx, dword [ebp + 8]
add ecx, 0x8840
call fcn.00424260
movzx eax, al
test eax, eax
je 0x423b0a
mov eax, dword [ebp + 8]
mov byte [eax + 0x8854], 1
jmp 0x423c09
mov ecx, dword [ebp + 8]
add ecx, 0x8840
call fcn.004242a0
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
add ecx, 0x8840
call fcn.00424310
push 0x14
push 0
mov eax, dword [ebp + 8]
add eax, 0x4424
push eax
call fcn.0045f1b0
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x4400]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
add eax, 0x4440
push eax
call fcn.0045f360
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x4400]
mov dword [eax + 0x4438], edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
call fcn.004222b0
push 0
mov eax, dword [ebp + 8]
add eax, 0x4424
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push 1
mov eax, dword [ebp + 8]
add eax, 0x4438
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_WSASend]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x423c09
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3e5
je 0x423c09
mov eax, dword [ebp - 0x10]
push eax
push str.Send_Request_Error_WSASend_Function_Failed_:__d_n
lea ecx, [ebp - 0x84]
push ecx
call fcn.0045ee9d
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
push 3
push 0x5bf648
call fcn.00419fd0
add esp, 0xc
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.00423180
mov ecx, dword [ebp + 8]
call fcn.00425dd0
jmp 0x423c11
mov ecx, dword [ebp + 8]
call fcn.00425dd0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret 4
Function at 0x426d30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x426e02
cmp dword [ebp + 0xc], 0
jle 0x426e02
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045cc29
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x54]
mov dword [eax + 4], ecx
mov dword [ebp - 8], 0
jmp 0x426d9d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xc]
jge 0x426dfb
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [ecx + edx*8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov dword [ecx + edx*8 + 4], eax
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 8]
lea ecx, [edx + eax*8]
push ecx
push 0x426e10
push 0
push 0
call fcn.004627c1
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x426d94
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42a500
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push str.HGWManager.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x7bac58], eax
cmp dword [0x7bac58], 0
jne 0x42a52c
mov eax, 1
jmp 0x42a5dd
push str.HGW_Initialize
mov eax, dword [0x7bac58]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7bac44], eax
push str.HGW_SendSessionInfo
mov eax, dword [0x7bac58]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7bac48], eax
push str.HGW_SendSessionLogin
mov eax, dword [0x7bac58]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7bac4c], eax
push str.HGW_SendSessionLogout
mov eax, dword [0x7bac58]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7bac50], eax
push str.HGW_Terminate
mov eax, dword [0x7bac58]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x7bac54], eax
cmp dword [0x7bac44], 0
je 0x42a5c7
cmp dword [0x7bac48], 0
je 0x42a5c7
cmp dword [0x7bac4c], 0
je 0x42a5c7
cmp dword [0x7bac50], 0
je 0x42a5c7
cmp dword [0x7bac54], 0
jne 0x42a5ce
mov eax, 2
jmp 0x42a5dd
mov eax, dword [ebp + 8]
push eax
call dword [0x7bac44]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bb40
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
jne 0x42bb66
xor al, al
jmp 0x42bc70
push 0x10
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.0045f1b0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea eax, [ebp - 0x11b]
push eax
call fcn.0045f1b0
add esp, 0xc
movzx eax, word [ebp - 0xc]
push eax
movzx ecx, word [ebp - 0xe]
push ecx
movzx edx, word [ebp - 0x10]
push edx
movzx eax, word [ebp - 0x12]
push eax
movzx ecx, word [ebp - 0x16]
push ecx
movzx edx, word [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
add eax, 0x18
push eax
push str._s_d_d_d__d_d_d.dmp
lea ecx, [ebp - 0x11c]
push ecx
call fcn.0042dc50
add esp, 0x24
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x42bc08
xor al, al
jmp 0x42bc70
push 0xc
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.0045f1b0
add esp, 0xc
mov dword [ebp - 0x124], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
push 0
push 0
lea eax, [ebp - 0x12c]
push eax
push 2
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret 4
Function at 0x4338d0
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x433900
mov dword [ebp - 8], 1
mov dword [ebp - 0x30], 0
jmp 0x433912
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 8]
jae 0x43394e
lea eax, [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x433970
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x433948
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43394c
xor eax, eax
jmp 0x43395d
jmp 0x433909
mov eax, dword [ebp - 4]
mov dword [eax + 4], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44e1a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x90d8], ecx
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0x1f4
push 0x190
push 0
push SysReAllocString
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x91a8]
push edx
mov eax, dword [ebp - 4]
add eax, 0x90e0
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x9144
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x90dc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x90dc], 0
jne 0x44e21a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor eax, eax
jmp 0x44e25d
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x90dc]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x90dc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 4]
cmp dword [eax + 0xab94], 0
je 0x44e258
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
call fcn.0044f150
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x450550
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b31b
mov eax, dword fs:[0]
push eax
mov eax, 0x4500
call fcn.00460980
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0
je 0x45059a
mov ecx, dword [ebp + 8]
call fcn.00425d50
movzx eax, al
test eax, eax
jne 0x45059f
jmp 0x45073f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 0xc], 0
jne 0x4505d9
mov word [ebp - 0x1c], 1
mov word [ebp - 0x1a], 0
push 4
lea eax, [ebp - 0x1c]
push eax
push 0x80
push 0xffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0x8840
call fcn.00424260
movzx eax, al
test eax, eax
jne 0x45062e
mov ecx, dword [ebp + 8]
add ecx, 0x8840
call fcn.004242a0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004222b0
mov ecx, dword [ebp + 8]
add ecx, 0x8840
call fcn.00424310
jmp 0x4505f0
mov ecx, dword [ebp + 8]
call fcn.00425dd0
lea ecx, [ebp - 0x44c8]
call fcn.00426ea0
mov dword [ebp - 4], 0
push 0xff
lea ecx, [ebp - 0x44c8]
call fcn.00427780
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
push eax
lea ecx, [ebp - 0x44c8]
call fcn.004277a0
push 0
push 0
lea ecx, [ebp - 0x44c8]
call fcn.00427360
mov ecx, dword [ebp - 0x14]
call fcn.004233a0
mov dword [ebp - 0x44cc], eax
cmp dword [ebp - 0x44cc], 0
jne 0x4506be
push str._CNetworkMgr::CloseClient__PopCloseBuffer___failed_
push 3
push 0x5bf648
call fcn.00419fd0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c8]
call fcn.00427330
jmp 0x45073f
lea ecx, [ebp - 0x44c8]
call fcn.00412180
mov ecx, dword [ebp - 0x44cc]
mov dword [ecx + 0x4400], eax
mov eax, dword [ebp - 0x44cc]
mov ecx, dword [eax + 0x4400]
push ecx
lea ecx, [ebp - 0x44c8]
call fcn.00412160
push eax
mov edx, dword [ebp - 0x44cc]
push edx
call fcn.0045f360
add esp, 0xc
mov eax, dword [ebp - 0x44cc]
mov dword [eax + 0x4404], 0
mov eax, dword [ebp - 0x44cc]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x4408], ecx
push 1
mov eax, dword [ebp - 0x44cc]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00423d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c8]
call fcn.00427330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret 8
Function at 0x452270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
push ecx
call fcn.00461209
add esp, 4
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
xor ecx, ecx
cmp eax, 0x2e
sete cl
test ecx, ecx
jne 0x452322
cmp dword [ebp - 8], 0
jne 0x4522cb
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 1]
cmp eax, 0x3a
jne 0x4522cb
mov dword [ebp - 0x12c], 1
jmp 0x4522d5
mov dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 0
jne 0x452322
push 0x103
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 0x120], eax
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x118]
push eax
push 0x4925e0
push 0x104
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.0045ef32
add esp, 0x14
mov dword [ebp - 0x11c], eax
jmp 0x452340
mov edx, dword [ebp + 8]
push edx
push 0x104
mov eax, dword [ebp - 0x128]
push eax
call fcn.004637be
add esp, 0xc
mov dword [ebp - 0x124], eax
push 0x4925e8
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.0045fb49
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
call fcn.0045f737
add esp, 4
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret 4

Function at 0x452390
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4a0270]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [str.NO_STRING___]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x4925f0]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x4925f4]
mov dword [ebp - 0x10], edx
mov al, byte [0x4925f8]
mov byte [ebp - 0xc], al
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x103
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x103
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0046179f
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
setne al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0045ee62
mov esp, ebp
pop ebp
ret 0xc