joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a120
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51e2f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
mov eax, dword [0x566450]
push ebx
push esi
mov dword [esp + 0x18], ecx
push edi
lea ecx, [esp + 0x140]
mov dword [esp + 0x2d4], eax
call fcn.00427d70
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x2e4], ebx
call fcn.004c21c0
mov edi, eax
xor esi, esi
cmp edi, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
jle 0x42a325
jmp 0x42a190
lea eax, [esp + 0x1d0]
push eax
lea ecx, [esp + 0xc4]
push ecx
mov ecx, dword [ebp + 8]
push esi
call fcn.004c3010
lea edx, [esp + 0xc0]
push edx
push str.country
call fcn.004dcb79
add esp, 8
test eax, eax
jne 0x42a318
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x2e4], 1
call fcn.0042a8e0
mov eax, dword [eax + 4]
dec eax
cmp eax, 0x5a
ja case.0x42a1f3.2
movzx eax, byte [eax + 0x42a36c]
jmp dword [eax*4 + 0x42a354]
push 3
push 0x52dfd4
jmp 0x42a225
push 2
push 0x5312f4
jmp 0x42a225
push 3
push 0x5312f0
jmp 0x42a225
push 3
push 0x5312ec
jmp 0x42a225
push 3
push 0x5312e8
lea ecx, [esp + 0x2c]
call fcn.0040363a
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x52f0a8
mov ecx, dword [ebp + 8]
mov byte [esp + 0x2e4], 3
call fcn.004c1fe0
mov edi, eax
xor esi, esi
cmp edi, ebx
jle 0x42a2a5
sub esp, 8
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
push ecx
mov ecx, dword [ebp + 8]
call fcn.004c20a0
lea ecx, [esp + 0x14]
call fcn.004131e0
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x10]
call fcn.004c2630
lea eax, [esp + 0x40]
push eax
push str.Event
call fcn.004dcb79
add esp, 8
test eax, eax
jne 0x42a2a0
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00429710
inc esi
cmp esi, edi
jl 0x42a252
mov dword [esp + 0xc], 0x52f0a4
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x2e4], 4
je 0x42a2d3
mov ecx, eax
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x10], eax
je 0x42a2d3
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x2e4], 1
je 0x42a2e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x3c], 0x10
mov byte [esp + 0x2e4], bl
jb 0x42a300
mov edx, dword [esp + 0x28]
push edx
call fcn.004f503d
add esp, 4
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
inc esi
cmp esi, edi
mov dword [esp + 0x14], esi
jl 0x42a190
lea ecx, [esp + 0x140]
call fcn.00427030
mov ecx, dword [esp + 0x2dc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2d4]
call fcn.004da561
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42a8c0
Capabilities:
Get geographical location

Disassembly:
push str.country_code_is_not_JPN._n
call fcn.004bf8b0
add esp, 4
xor al, al
ret 0x18
Function at 0x42cf80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51e5ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push 0x74
mov ebx, ecx
call fcn.004f5012
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
test esi, esi
mov dword [esp + 0x24], 0
je 0x42cfe0
mov eax, dword [esp + 0x2c]
push edi
push eax
mov ecx, esi
call fcn.004626a0
xor eax, eax
mov ecx, 0x10
lea edi, [esi + 0x2c]
mov dword [esi], 0x5316cc
rep stosd dword es:[edi], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
pop edi
jmp 0x42cfe2
xor esi, esi
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [ebx + 0x368]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
call fcn.0042ceb0
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push eax
mov ecx, edx
push ecx
push str.Agent_Added__UID:_d_d_
mov dword [esp + 0x14], edx
mov edx, eax
push 7
push ebx
mov dword [esp + 0x20], edx
call fcn.00425280
mov ecx, dword [esp + 0x30]
add esp, 0x14
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x430cd0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
sub esp, 8
push esi
push 1
push 0
push 0
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x430d13
mov eax, dword [0x6a5600]
test eax, eax
je 0x430d0b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.RealCPNet__WSASocket_sdSocket_:__d_n
call dword [0x6a5600]
add esp, 8
or eax, 0xffffffff
pop esi
add esp, 8
ret
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [esp + 0x10]
push eax
push 1
push 6
push esi
mov dword [esp + 0x20], 1
call edi
cmp eax, 0xffffffff
jne 0x430d5b
mov eax, dword [0x6a5600]
test eax, eax
je 0x430da0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.RealCPNet__setsockopt_TCP_NODELAY_:__d_n
call dword [0x6a5600]
add esp, 8
pop edi
mov eax, esi
pop esi
add esp, 8
ret
push 4
lea ecx, [esp + 0xc]
push ecx
push 0x80
push 0xffff
push esi
mov word [esp + 0x1c], 1
mov word [esp + 0x1e], 0
call edi
cmp eax, 0xffffffff
jne 0x430da0
mov eax, dword [0x6a5600]
test eax, eax
je 0x430da0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.RealCPNet__setsockopt_SO_LINGER_:__d_n
call dword [0x6a5600]
add esp, 8
pop edi
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x430db0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x14
mov eax, dword [0x566450]
push esi
mov dword [esp + 0x14], eax
mov esi, ecx
call fcn.00430cd0
cmp eax, 0xffffffff
mov dword [esi + 0x14], eax
je 0x430e97
mov cl, byte [esp + 0x1c]
test cl, cl
je 0x430dfe
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push 0xffff
push eax
mov dword [esp + 0x30], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x430e97
xor edx, edx
mov dx, word [esi]
mov word [esp + 4], 2
push edx
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 0xa], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esi + 0x14]
mov dword [esp + 8], eax
push 0x10
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x430e68
mov eax, dword [0x6a5600]
test eax, eax
je 0x430e97
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.RealCPNet__bind:__d_n
call dword [0x6a5600]
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
call fcn.004da561
add esp, 0x14
ret 4
mov edx, dword [esi + 0x14]
push 0x10
push edx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x430ea9
mov eax, dword [0x6a5600]
test eax, eax
je 0x430e97
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.RealCPNet__listen:__d_n
call dword [0x6a5600]
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
call fcn.004da561
add esp, 0x14
ret 4
mov ecx, dword [esp + 0x14]
mov eax, 1
pop esi
call fcn.004da561
add esp, 0x14
ret 4
Function at 0x430f60
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0xc
push esi
push 0x28
call fcn.004f5012
xor edx, edx
add esp, 4
cmp eax, edx
je 0x430fa1
xor ecx, ecx
lea esi, [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [eax + 0x18], 5
mov dword [eax], 0x5319f4
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], edx
mov esi, eax
jmp 0x430fa3
xor esi, esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x24], eax
push edx
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x10], eax
lea eax, [esi + 4]
push eax
push edx
mov dword [esp + 0x10], edx
lea edx, [esp + 0x10]
push edx
push 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x431003
push edi
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x3e5
je 0x430ff9
call edi
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
pop edi
mov al, 1
pop esi
add esp, 0xc
ret 0xc
mov al, 1
pop esi
add esp, 0xc
ret 0xc
Function at 0x4311d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x74]
push esi
mov dword [esp + 0x1c], ebp
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x68]
call fcn.0043a160
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x6c]
je 0x431209
mov ebx, dword [eax + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
test ebx, ebx
mov dword [esp + 0x18], eax
je 0x431385
push 2
push ebp
call dword [sym.imp.WS2_32.dll_shutdown]
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
jne 0x43125a
mov al, byte [esp + 0x1c]
test al, al
je 0x43125a
mov eax, dword [0x6a5600]
test eax, eax
je 0x43125a
call ebx
push eax
push str.shutdown___Error____d_Callback__n
call dword [0x6a5600]
add esp, 8
push 0x1c
call fcn.004f5012
add esp, 4
test eax, eax
je 0x43128a
mov dword [eax], 0x5319f0
xor edx, edx
lea ecx, [eax + 4]
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov dword [eax + 0x18], 3
jmp 0x43128c
xor eax, eax
cmp dword [edi + 0x14], ebp
jne 0x431317
test eax, eax
je 0x43129e
add eax, 4
jmp 0x4312a0
xor eax, eax
push 3
push 0
push eax
push 0
push 0
push 0
push ebp
call sub.MSWSOCK.dll_TransmitFile
test eax, eax
jne 0x4312db
call ebx
cmp eax, 0x3e5
je 0x4312db
mov cl, byte [esp + 0x1c]
test cl, cl
je 0x4312db
mov ecx, dword [0x6a5600]
test ecx, ecx
je 0x4312db
push eax
push str.TransmitFile_TF_DISCONNECT__TF_REUSE_SOCKET__Error____d_Callback__n
call ecx
add esp, 8
call esi
sub eax, dword [esp + 0x18]
cmp eax, 0x64
jbe 0x431385
mov cl, byte [esp + 0x1c]
test cl, cl
je 0x431385
mov ecx, dword [0x6a5600]
test ecx, ecx
je 0x431385
push eax
push str.Elapsed_Time_TF_REUSE_SOCKET____d_Callback__n
call ecx
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
test eax, eax
je 0x431320
add eax, 4
jmp 0x431322
xor eax, eax
push 1
push 0
push eax
push 0
push 0
push 0
push ebp
call sub.MSWSOCK.dll_TransmitFile
test eax, eax
jne 0x43135d
call ebx
cmp eax, 0x3e5
je 0x43135d
mov cl, byte [esp + 0x1c]
test cl, cl
je 0x43135d
mov ecx, dword [0x6a5600]
test ecx, ecx
je 0x43135d
push eax
push str.TransmitFile_TF_DISCONNECT__Error____d_Callback__n
call ecx
add esp, 8
call esi
sub eax, dword [esp + 0x18]
cmp eax, 0x64
jbe 0x431385
mov cl, byte [esp + 0x1c]
test cl, cl
je 0x431385
mov ecx, dword [0x6a5600]
test ecx, ecx
je 0x431385
push eax
push str.Elapsed_Time___d_Callback__n
call ecx
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x431540
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x74]
push ebp
xor edi, edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 0x68]
mov dword [esp + 0x28], ebx
call fcn.0043a160
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x6c]
je 0x4315f6
mov esi, dword [eax + 0x10]
cmp esi, edi
je 0x4315f6
push 0x24
call fcn.004f5012
add esp, 4
cmp eax, edi
je 0x4315b5
xor edx, edx
lea ecx, [eax + 4]
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov dword [eax + 0x18], 4
mov dword [eax], 0x5319f8
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
jmp 0x4315b7
xor eax, eax
mov dword [eax + 0x20], 0x2000
lea ecx, [esi + 0x20]
mov dword [eax + 0x1c], ecx
push edi
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x20]
add eax, 4
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], edx
push 1
lea edx, [esp + 0x28]
push edx
push ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0xffffffff
jne 0x431613
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x3e5
je 0x431613
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x431c60
Capabilities:
Set socket configuration

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x74]
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esp + 0x18]
lea ebp, [edi + 0x64]
push ebx
mov ecx, ebp
call fcn.00431190
test al, al
je 0x431d74
mov eax, dword [edi + 0xc]
test eax, eax
mov esi, dword [ebx + 4]
je 0x431cbe
mov ecx, dword [0x6a5600]
test ecx, ecx
je 0x431cbe
mov eax, dword [esp + 0x1c]
test eax, eax
mov eax, str.TRUE
jne 0x431cb2
mov eax, str.FALSE
push eax
push esi
push str.CloseSession:_Socket__d__connection_closing__graceful_s__n
call ecx
add esp, 0xc
cmp esi, 0xffffffff
je 0x431d06
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x431cf1
push 4
lea eax, [esp + 0x20]
push eax
push 0x80
push 0xffff
push esi
mov word [esp + 0x30], 1
mov word [esp + 0x32], 0
call dword [sym.imp.WS2_32.dll_setsockopt]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x18], 2
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x431d23
mov ecx, dword [edi + 0xa8]
push 0
push 0
push esi
push 3
push ecx
call eax
add esp, 0x14
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push edx
lea eax, [esp + 0x1c]
lea esi, [ebp + 4]
push eax
mov ecx, esi
mov dword [ebx + 0x1c], 0
call fcn.0043a160
mov edi, dword [esp + 0x18]
cmp edi, dword [ebp + 8]
je 0x431d65
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x431d58
mov edx, dword [ecx]
push 1
call dword [edx]
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00431620
mov eax, dword [0x6a5608]
mov esi, dword [esp + 0x10]
inc eax
mov dword [0x6a5608], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x432790
Capabilities:
Create thread
Get system information on windows
Initialize winsock library

Disassembly:
sub esp, 0x1bc
mov eax, dword [0x566450]
push esi
mov dword [esp + 0x1bc], eax
push edi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x20]
add eax, eax
cmp eax, 0x10
mov dword [esi + 0x18], eax
jbe 0x4327c6
mov dword [esi + 0x18], 0x10
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x5c], eax
jne 0x432810
cmp dword [0x6a5600], edi
je 0x4327f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RealCPNet__CreateEvent_CleanupEvent__failed:__d_n
call dword [0x6a5600]
add esp, 8
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1b8]
call fcn.004da561
add esp, 0x1bc
ret 8
lea ecx, [esp + 0x30]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, edi
je 0x43285c
mov ecx, dword [0x6a5600]
cmp ecx, edi
je 0x432839
push eax
push str.RealCPNet__WSAStartup_failed:__d_n
call ecx
add esp, 8
mov edx, dword [esi + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1b8]
call fcn.004da561
add esp, 0x1bc
ret 8
lea eax, [esi + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [esp + 0x1c8]
cmp eax, edi
je 0x432877
mov word [esi], ax
mov ecx, dword [esi + 0x5c]
push ecx
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push edi
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp eax, edi
mov dword [esi + 0x10], eax
jne 0x4328d3
cmp dword [0x6a5600], edi
je 0x4327f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RealCPNet__CreateIoCompletionPort_failed_to_create_I_O_completion_port:__d_n
call dword [0x6a5600]
add esp, 8
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1b8]
call fcn.004da561
add esp, 0x1bc
ret 8
cmp dword [esi + 0x18], edi
push ebx
push ebp
jbe 0x432907
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
lea ebx, [esi + 0x1c]
lea edx, [esp + 0x10]
push edx
push 0
push esi
push 0x432310
push 0
push 0
call ebp
test eax, eax
je 0x432941
mov dword [ebx], eax
mov eax, dword [esi + 0x18]
inc edi
add ebx, 4
cmp edi, eax
jb 0x4328e3
mov eax, dword [esp + 0x1d4]
push eax
mov ecx, esi
call fcn.00430db0
test eax, eax
je 0x43295f
push 1
mov ecx, esi
call fcn.004321e0
test eax, eax
setne al
mov ecx, dword [esp + 0x1c8]
pop ebp
pop ebx
pop edi
pop esi
call fcn.004da561
add esp, 0x1bc
ret 8
mov eax, dword [0x6a5600]
test eax, eax
je 0x43295f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RealCPNet__CreateThread_failed_to_create_worker_thread:__d_n
call dword [0x6a5600]
add esp, 8
xor al, al
jmp 0x432928
Function at 0x43bce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51ef90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x3c]
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push ebx
mov dword [esp + 0x30], 2
call fcn.0043b950
add eax, 0x10
mov dword [edi], eax
mov ebp, dword [esp + 0x40]
add ebp, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push ebp
mov byte [esp + 0x34], 3
call fcn.0043b950
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x40]
mov dword [esp + 0x1c], esp
add edi, 0xfffffff0
mov dword [esp + 0x1c], esp
push edi
mov byte [esp + 0x38], 4
call fcn.0043b950
mov ecx, dword [esp + 0x20]
add eax, 0x10
add esp, 4
lea edx, [esp + 0x20]
mov dword [ecx], eax
push edx
lea ecx, [esi + 4]
mov byte [esp + 0x38], 2
call fcn.004bc9e0
add esi, 0x70
push eax
mov ecx, esi
mov byte [esp + 0x2c], 5
call fcn.0043bc40
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43bdaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esi]
sub esi, 0x10
push esi
call fcn.0043b950
mov esi, dword [esp + 0x34]
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x28], 1
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43bde2
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov byte [esp + 0x28], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43bdff
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov dword [esp + 0x28], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43be1e
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x51fceb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esp + 0xc], esi
call fcn.0048aa20
mov dword [edi + 4], eax
mov byte [eax + 0x19], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
xor ebp, ebp
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x24]
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.0048aa20
mov dword [edi + 4], eax
mov byte [eax + 0x19], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
push esi
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44a250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51fe1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
mov eax, dword [0x566450]
push ebx
push esi
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x17c], eax
call fcn.004c1b00
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18c], ebx
call fcn.004c2330
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x24]
call fcn.004c33c0
test al, al
jne 0x44a2d0
lea ecx, [esp + 0x20]
call fcn.004c22b0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18c], 0xffffffff
call fcn.004c22f0
xor al, al
jmp 0x44a463
mov dword [esp + 0x18], ebx
mov esi, 0x52f0a8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
sub esp, 8
mov ecx, esp
mov dword [esp + 0x24], esp
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x198], 6
call fcn.00413b20
lea ecx, [esp + 0x1c]
call fcn.00413150
lea ecx, [esp + 0x14]
call fcn.004c1fe0
cmp eax, ebx
mov dword [esp + 0x1c], eax
jle 0x44a405
sub esp, 8
mov edx, esp
mov dword [esp + 0x3c], esp
push ebx
push edx
lea ecx, [esp + 0x24]
call fcn.004c20a0
lea ecx, [esp + 0x14]
call fcn.004131e0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x10]
call fcn.004c2630
cmp byte [esp + 0x78], 0x23
je 0x44a3f3
mov edi, str.FORMULA_TABLE
lea esi, [esp + 0x78]
mov ecx, 0xe
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x44a3f3
push 0x52d8f8
push 0x52fba4
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
call fcn.004c2b90
lea ecx, [esp + 0x38]
push str.NeedExpLM
push ecx
call fcn.004dcb79
add esp, 8
test eax, eax
jne 0x44a3ae
lea edx, [esp + 0xc]
push edx
call fcn.00449dd0
jmp 0x44a3f0
lea eax, [esp + 0x38]
push str.GettingExpLM
push eax
call fcn.004dcb79
add esp, 8
test eax, eax
jne 0x44a3d0
lea ecx, [esp + 0xc]
push ecx
call fcn.00449f50
jmp 0x44a3f0
lea edx, [esp + 0x38]
push str.GettingBountyLM
push edx
call fcn.004dcb79
add esp, 8
test eax, eax
jne 0x44a3f3
lea eax, [esp + 0xc]
push eax
call fcn.0044a0d0
add esp, 4
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x44a326
mov esi, 0x52f0a8
lea ecx, [esp + 0x20]
call fcn.004c22b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18c], 4
mov dword [esp + 0x2c], esi
call fcn.00413080
lea ecx, [esp + 0xc]
mov byte [esp + 0x18c], 2
mov dword [esp + 0xc], esi
call fcn.00413080
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 0
mov dword [esp + 0x14], esi
call fcn.00413080
lea ecx, [esp + 0x20]
mov dword [esp + 0x18c], 0xffffffff
call fcn.004c22f0
mov al, 1
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x17c]
call fcn.004da561
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret