joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d630
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f5d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00467da0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043cfd0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00467cce
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00464589
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00464589
push 1
push 0
push 0
mov ecx, esi
call fcn.00464531
push 1
push 0
push 1
mov ecx, esi
call fcn.00464531
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00467e12
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43d7b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f5f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00467da0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043cfd0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00467cce
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43d874
cmp dword [esp + 0x40], 1
jne 0x43d872
cmp ecx, eax
jge 0x43d874
mov eax, ecx
cmp eax, 0xc8
jge 0x43d880
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043d630
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00467e12
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43dff0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46f663
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004629aa
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00468048
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004695a7
test eax, eax
je 0x43e10c
mov ecx, dword [esp + 0x3c]
call fcn.00468075
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43e0d0
push edi
mov ecx, esi
call fcn.004656d0
mov ecx, esi
call fcn.0043e270
cmp dword [esp + 0x38], 1
jne 0x43e105
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046580b
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x440b30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x440b63
push esi
call fcn.00443c30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x440b5c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x440be9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x440bd2
mov eax, dword [esi + 8]
test eax, eax
je 0x440b87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x440bce
cmp eax, 2
je 0x440bd2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x440b7a
cmp eax, 3
je 0x440bad
cmp eax, 1
jne 0x440b7a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x440b7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x440b7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00440c10
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x440bf8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00440c10
add esp, 4
pop esi
ret

Function at 0x44bf50
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44bfb6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44bfb6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44bf97
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x44caf0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044cc40
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44cb10
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44caf1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044cc40
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44cb10
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44cb40
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44cb97
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44cbad
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0044cbd0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x44cbd0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x44cc60
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44cca9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x44d120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46fb90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044ccd0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044cd50
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044cd50
lea ecx, [esi + 0xc]
call fcn.00461386
lea ecx, [esi + 0x10]
call fcn.00461386
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044f580
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044f580
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044f580
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004613fb
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004613fb
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44ddc8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46fdb8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44ddd8
call fcn.0044e2f0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44debb
cmp byte [edi], 0
je 0x44debb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44ddfd
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044caf0
test eax, eax
jne 0x44de1d
push 0x569460
lea ecx, [esi + 0x38]
call fcn.00461538
jmp 0x44debb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044cb40
test eax, eax
jne 0x44de4c
mov ecx, esi
call fcn.0044cc40
push edi
add esi, 0x38
push 0x56943c
push esi
call fcn.0045f397
add esp, 0xc
jmp 0x44debb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044eb70
test eax, eax
je 0x44deb4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044df90
test eax, eax
jne 0x44ded0
push edi
lea eax, [esi + 0x38]
push 0x569418
push eax
call fcn.0045f397
add esp, 0xc
mov ecx, esi
call fcn.0044e2f0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44df78
mov ecx, dword [0x5696d0]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0045f397
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044cbf0
test eax, eax
jne 0x44df3a
push 0x5693fc
lea ecx, [esi + 0x38]
call fcn.00461538
jmp 0x44df4a
push 0xfa
mov ecx, esi
call fcn.0044eb70
test eax, eax
jne 0x44df67
mov ecx, esi
call fcn.0044e2f0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004613fb
jmp 0x44debb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004613fb
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x46379f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4637d7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00461856
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046182e
jmp 0x4637e3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x464e8d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x464ecf
call fcn.0046aa51
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x464ecf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x464ec6
xor eax, eax
jmp 0x464ed7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00464edd
pop edi
pop esi
pop ebx
ret 4

Function at 0x46af81
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46afaf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46afcd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046aee7
jmp 0x46afcd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46afcd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046aee7
test edi, edi
mov eax, edi
jne 0x46afb7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40d0f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8eff
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x40d1be
push 0x40
call fcn.004a20f7
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40d1ad
mov dword [eax + 4], 0
mov dword [eax], vtable.Packages::PackageHeader.0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0x511c40
push 0x40
mov dword [ebp - 0x10], ecx
call fcn.0041c690
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0040cac0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8f2f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x40d2b0
push 0x38
call fcn.004a20f7
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x40d29f
mov dword [eax + 4], 0
mov dword [eax], vtable.Packages::Ping_s.0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0x511b40
push 0x38
mov dword [ebp - 0x10], ecx
call fcn.0041c690
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0040cb40
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x411e00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8320
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.Client::Client__
push 0x5150c8
mov dword [ebx], vtable.Common::Client.0
call fcn.004020e0
add esp, 8
lea ecx, [ebx + 0x1c]
cmp dword [ebx + 0x30], 0x10
jb 0x411e4b
mov ecx, dword [ebx + 0x1c]
push dword [ebx + 0x2c]
push ecx
push eax
call fcn.00402430
push eax
call fcn.004026f0
mov esi, dword [sym.imp.WSOCK32.dll_shutdown]
add esp, 0x10
push 0
push dword [ebx + 0x14]
call esi
push 1
push dword [ebx + 0x14]
call esi
push dword [ebx + 0x14]
call dword [sym.imp.WSOCK32.dll_closesocket]
mov esi, dword [ebx + 0x60]
mov byte [ebx + 0x50], 0
mov eax, dword [esi + 4]
test eax, eax
jne 0x411ea4
push 1
call fcn.0049ecd8
mov eax, dword [esi + 4]
add esp, 4
test eax, eax
jne 0x411ea4
push 1
call fcn.0049ecd8
add esp, 4
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
jne 0x411eb8
push 5
call fcn.0049ecd8
add esp, 4
push 0
push dword [esi + 4]
push dword [esi]
call fcn.0049ee33
add esp, 0xc
test eax, eax
je 0x411ed5
push 2
call fcn.0049ecd8
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x411efe
cmp dword [eax + 4], 0
jne 0x411faf
push 8
push eax
call fcn.004a2127
add esp, 8
push dword [ebx + 0x58]
lea ecx, [ebx + 0x54]
push dword [ebx + 0x54]
call fcn.004129b0
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x58], eax
push dword [ebx + 0x44]
call fcn.004a2172
lea eax, [ebx + 0x64]
push eax
call fcn.0049eb35
add esp, 8
lea ecx, [ebx + 0x54]
call fcn.00411da0
mov ecx, dword [ebx + 0x30]
cmp ecx, 0x10
jb 0x411f5e
mov eax, dword [ebx + 0x1c]
inc ecx
cmp ecx, 0x1000
jb 0x411f54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411faa
mov eax, edx
push ecx
push eax
call fcn.004a2127
add esp, 8
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x411f98
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x411f98
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x411f98
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004bd25c
call fcn.004bd3d1
int3
Function at 0x412740
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d91b8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x50], 0
mov dword [ebp - 4], 0
jne 0x412781
mov esi, 0xfffffffa
jmp 0x412839
lea edi, [esi + 0x64]
push edi
call fcn.0049ebb2
add esp, 4
test eax, eax
je 0x41279a
push eax
call fcn.0049ecab
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.0040e470
push eax
call fcn.004a2169
mov ecx, dword [ebp + 8]
add esp, 4
mov ebx, eax
call fcn.0040e470
mov ecx, dword [ebp + 8]
push eax
push ebx
mov dword [ebp - 0x10], eax
call fcn.0041de00
push dword [ebp - 0x10]
call dword [sym.imp.WSOCK32.dll_htonl]
push dword [esi + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 4
push eax
push dword [esi + 0x14]
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 4
jne 0x4127fa
push dword [esi + 0x18]
push dword [ebp - 0x10]
push ebx
push dword [esi + 0x14]
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, dword [ebp - 0x10]
je 0x41281b
push edi
mov byte [esi + 0x50], 0
call fcn.0049ebd7
add esp, 4
test eax, eax
je 0x412814
push eax
call fcn.0049ecab
add esp, 4
mov esi, 0xfffffffc
jmp 0x412839
push ebx
call fcn.004a2172
push edi
call fcn.0049ebd7
add esp, 8
test eax, eax
je 0x412837
push eax
call fcn.0049ecab
add esp, 4
xor esi, esi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x412861
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x412861
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x412861
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, esi
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 0x412880
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp byte [edi + 0x50], 0
jne 0x412896
mov eax, 0xfffffffa
pop edi
pop ebp
ret 8
push ebx
lea ebx, [edi + 0x64]
push ebx
call fcn.0049ebb2
add esp, 4
test eax, eax
je 0x4128b0
push eax
call fcn.0049ecab
add esp, 4
push dword [edi + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x14]
call dword [sym.imp.WSOCK32.dll_send]
push ebx
cmp eax, dword [ebp + 0xc]
je 0x4128ec
mov byte [edi + 0x50], 0
call fcn.0049ebd7
add esp, 4
test eax, eax
je 0x4128e1
push eax
call fcn.0049ecab
add esp, 4
pop ebx
mov eax, 0xfffffffc
pop edi
pop ebp
ret 8
call fcn.0049ebd7
add esp, 4
test eax, eax
je 0x412901
push eax
call fcn.0049ecab
add esp, 4
pop ebx
xor eax, eax
pop edi
pop ebp
ret 8
Function at 0x412c40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9248
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x51093c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp + 8]
push edi
push str.__new_size:
push dword [esi + 0xc]
push str.CycleBuffer_Resize._Old_size:
push 0x5150c8
call fcn.004020e0
add esp, 8
mov ecx, eax
call fcn.00403df0
push eax
call fcn.004020e0
add esp, 8
mov ecx, eax
call fcn.00403df0
mov dword [ebp - 0x18], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + eax + 0x30]
mov ebx, dword [ecx + 4]
mov ecx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.004027b0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 0x10], al
mov dword [ebp - 4], 2
test ebx, ebx
je 0x412d01
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
test eax, eax
je 0x412d01
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.004070f0
mov ecx, dword [ebp - 0x18]
call fcn.00406e50
test edi, edi
je 0x412d96
push dword [esi]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004a2172
xor ecx, ecx
mov eax, edi
mov edx, 0x8030
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a2169
mov ebx, eax
add esp, 8
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x412d8f
mov esi, edi
test edi, edi
je 0x412d8a
lea edx, [ebx + 0x30]
dec esi
mov eax, edx
mov ecx, 0x2000
nop dword [eax]
xor edi, edi
lea eax, [eax + 4]
mov dword [eax - 4], edi
sub ecx, 1
jne 0x412d70
add edx, 0x8030
test esi, esi
jne 0x412d61
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x1c]
jmp 0x412d91
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4