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

Disassembly:
push 0xffffffffffffffff
push 0x46e9e8
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.00467b6d
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00438ec0
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.00467a9b
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.0046435f
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.0046435f
push 1
push 0
push 0
mov ecx, esi
call fcn.00464307
push 1
push 0
push 1
mov ecx, esi
call fcn.00464307
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00467bdf
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4396a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ea08
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.00467b6d
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00438ec0
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.00467a9b
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 0x439764
cmp dword [esp + 0x40], 1
jne 0x439762
cmp ecx, eax
jge 0x439764
mov eax, ecx
cmp eax, 0xc8
jge 0x439770
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00439520
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.00467bdf
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x439ee0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ea73
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.00462780
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.00467e15
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00469331
test eax, eax
je 0x439ffc
mov ecx, dword [esp + 0x3c]
call fcn.00467e42
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 0x439fc0
push edi
mov ecx, esi
call fcn.004654ab
mov ecx, esi
call fcn.0043a160
cmp dword [esp + 0x38], 1
jne 0x439ff5
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.004655e6
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 0x43ca20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ca53
push esi
call fcn.0043fb30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ca4c
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 0x43cad9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43cac2
mov eax, dword [esi + 8]
test eax, eax
je 0x43ca77
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 0x43cabe
cmp eax, 2
je 0x43cac2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ca6a
cmp eax, 3
je 0x43ca9d
cmp eax, 1
jne 0x43ca6a
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 0x43ca6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ca6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043cb00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43cae8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043cb00
add esp, 4
pop esi
ret

Function at 0x4491b8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46eeac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00462780
mov dword [esi], method.CTreeCtrl.virtual_0
lea edi, [esi + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], 0x483394
call fcn.0044b520
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.0044b520
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 2
call fcn.0044b520
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.0044b520
mov dword [edi], 0x48338c
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 4
call fcn.0045fc42
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0x48345c
mov eax, dword [0x499604]
mov dword [esi + 0xdc], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 7
call fcn.0044b520
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 8
call fcn.0045fc42
mov ecx, dword [esp + 0x10]
mov dword [esi], method.CTreeCtrl.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4492a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46ef34
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CTreeCtrl.virtual_0
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], 5
call fcn.0045fc6b
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x483388
call fcn.0044b720
lea ecx, [esi + 0xdc]
mov byte [esp + 0x18], 3
call fcn.004611ce
lea ecx, [esi + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 6
call fcn.00467e6c
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 1
call fcn.0045fc6b
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x483388
call fcn.0044b720
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x483388
call fcn.0044b720
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x483388
call fcn.0044b720
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x483388
call fcn.0044b720
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0045f8ae
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x449f10
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x449fb3
test eax, eax
jbe 0x449fb3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x449fb3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x449f5e
xor esi, esi
jmp 0x449f64
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x449f8f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00404100
add esi, eax
push esi
mov ebx, esi
call fcn.00404100
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x449f70
pop ebp
test edi, edi
pop edi
jne 0x449fb3
test ebx, ebx
je 0x449fb3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00452240
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44a0f5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44a20d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44a20d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00462bd2
mov esi, eax
test esi, esi
je 0x44a20d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44a20d
mov ecx, esi
call fcn.0044a060
cmp edi, eax
jge 0x44a20d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44a193
mov dword [esp + 0x34], 1
jmp 0x44a1ee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44a20d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00447da0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x44d090
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44d0da
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x44d109
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x44d14b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x463575
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4635ad
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.00461629
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00461601
jmp 0x4635b9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x464c63
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 0x464ca5
call fcn.0046a736
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x464ca5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x464c9c
xor eax, eax
jmp 0x464cad
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00464cb3
pop edi
pop esi
pop ebx
ret 4

Function at 0x46ac66
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 0x46ac94
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46acb2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046abcc
jmp 0x46acb2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46acb2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046abcc
test edi, edi
mov eax, edi
jne 0x46ac9c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4015e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
push edi
mov edi, dword [esi]
mov esi, dword [esi + 4]
cmp esi, ecx
jb 0x40160d
ja 0x4015ee
cmp edi, edx
jb 0x40160d
cmp edi, edx
jne 0x4015f6
cmp esi, ecx
je 0x40160d
mov ecx, dword [0x436df8]
mov edx, dword [0x436dfc]
mov dword [eax], ecx
mov dword [eax + 4], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
sub edx, edi
sbb ecx, esi
pop edi
mov dword [eax], edx
mov dword [eax + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403140
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42ad3b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [str._t_a_f_b_f_t_f_n_a_v_b_f]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0x1c
call fcn.00415a5c
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x20], edi
je 0x403173
call fcn.0040cf10
mov dword [esi + 4], 0x42e8a4
mov dword [esi + 8], edi
mov dword [esi], 0x42e87c
mov dword [esi + 4], str.american
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], 0x402e00
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], edi
jmp 0x403175
xor esi, esi
or ecx, 0xffffffff
cmp esi, edi
mov dword [esp + 0x20], ecx
je 0x403184
add dword [esi + 8], 1
mov eax, dword [ebx + 0x8c]
cmp eax, edi
je 0x4031a9
add dword [eax + 8], ecx
lea edi, [eax + 4]
jne 0x4031a9
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov dword [ebx + 0x8c], esi
mov eax, dword [esi + 0x18]
test eax, eax
mov edi, 0x7a120
je 0x4031cf
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [edx + 0x10]
call eax
mov dword [esi + 0x18], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
xor eax, eax
push eax
push edi
push eax
mov eax, dword [edx + 0xc]
push esi
call eax
mov dword [esi + 0x18], eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40aa90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42a99b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [str._t_a_f_b_f_t_f_n_a_v_b_f]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [str._t_a_f_b_f_t_f_n_a_v_b_f]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 8], esi
mov dword [esi + 4], eax
mov dword [esp + 0x90], eax
push 0x42e98c
lea ecx, [esp + 0x10]
mov dword [esi], 0x42ed04
call fcn.00404ab0
call fcn.00414a35
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
call fcn.00404b80
mov eax, esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00415883
add esp, 0x90
ret

Function at 0x40ad60
Capabilities:
Access peb ldr_data

Disassembly:
cmp dword [esi + 0x18], 0x10
jb 0x40ad62
mov eax, dword [esi + 4]
push eax
call fcn.00415d05
add esp, 4
xor eax, eax
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], eax
mov byte [esi + 4], al
ret

Function at 0x40b2f0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp dword [ecx], 0x75b22630
jne 0x40b305
cmp word [ecx + 4], 0x668e
jne 0x40b305
cmp word [ecx + 6], 0x11cf
jne 0x40b305
mov edx, 8
push esi
mov eax, 0x42edac
add ecx, edx
push edi
mov esi, dword [ecx]
cmp esi, dword [eax]
jne 0x40b29a
sub edx, 4
add eax, 4
add ecx, 4
cmp edx, 4
jae 0x40b282
test edx, edx
je 0x40b2f7
movzx esi, byte [ecx]
movzx edi, byte [eax]
sub esi, edi
jne 0x40b2e9
sub edx, 1
add eax, 1
add ecx, 1
test edx, edx
je 0x40b2f7
movzx esi, byte [ecx]
movzx edi, byte [eax]
sub esi, edi
jne 0x40b2e9
sub edx, 1
add eax, 1
add ecx, 1
test edx, edx
je 0x40b2f7
movzx esi, byte [ecx]
movzx edi, byte [eax]
sub esi, edi
jne 0x40b2e9
sub edx, 1
add eax, 1
add ecx, 1
test edx, edx
je 0x40b2f7
movzx esi, byte [ecx]
movzx eax, byte [eax]
sub esi, eax
je 0x40b2f7
test esi, esi
mov eax, 1
jg 0x40b2f9
or eax, 0xffffffff
jmp 0x40b2f9
xor eax, eax
test eax, eax
pop edi
pop esi
jne 0x40b305
mov eax, 1
ret
xor eax, eax
ret

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

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x24]
push edi
mov dword [esp + 0x10], ebx
jne 0x40bd10
call fcn.00415cf5
cmp esi, dword [ebx + 4]
jne 0x40bd1a
call fcn.00415cf5
cmp esi, dword [ebp + 4]
mov eax, dword [esi]
mov dword [esp + 0x28], eax
je 0x40bd61
mov ecx, dword [esi + 4]
mov edx, eax
mov dword [ecx], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov edi, dword [esi + 8]
test edi, edi
je 0x40bd54
add dword [edi + 4], 0xffffffff
jne 0x40bd54
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
push esi
call fcn.00415d05
add esp, 4
add dword [ebp + 8], 0xffffffff
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
mov dword [eax + 4], ecx
pop ebx
add esp, 8
ret 0x10
Function at 0x40c580
Capabilities:
Access peb ldr_data
Create tcp socket
Create udp socket
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42b037
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [str._t_a_f_b_f_t_f_n_a_v_b_f]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [edi], 0x42ecdc
mov dword [edi + 0x4c], 0x42c2b0
mov dword [esp + 0x24], ebp
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], 0x42c2a8
mov edx, dword [edi]
mov esi, dword [edx + 4]
add esi, edi
mov ecx, esi
mov dword [esp + 0x18], 1
call fcn.00405310
lea ebx, [edi + 4]
push 0x20
mov ecx, esi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebp
call fcn.00409d90
cmp dword [esi + 0x28], ebp
mov byte [esi + 0x30], al
jne 0x40c600
mov eax, dword [esi + 8]
or eax, 4
or eax, 4
push ebp
push eax
mov ecx, esi
call fcn.004051a0
mov dword [esi + 4], ebp
mov dword [esp + 0x24], 2
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push 2
push ebx
mov dword [edi + ecx], 0x42ee38
call fcn.00407fe0
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x40c740
Capabilities:
Connect socket

Disassembly:
push 0xffffffffffffffff
push 0x42afec
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [str._t_a_f_b_f_t_f_n_a_v_b_f]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
xor ebx, ebx
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x14], ebx
je 0x40c761
mov dword [edi], 0x42ec80
mov dword [edi + 4], 0x42c2b0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], 0x42c2a8
mov edx, dword [edi]
mov esi, dword [edx + 4]
add esi, edi
mov ecx, esi
call fcn.00405310
mov eax, dword [esp + 0x2c]
push 0x20
mov ecx, esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
call fcn.00409d90
cmp dword [esi + 0x28], ebx
mov byte [esi + 0x30], al
jne 0x40c7a5
mov eax, dword [esi + 8]
or eax, 4
push ebx
push eax
mov ecx, esi
call fcn.004051a0
cmp byte [esp + 0x30], bl
je 0x40c7b6
push esi
call fcn.00414ab1
add esp, 4
jmp 0x40c7b9
mov dword [esi + 4], ebx
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0xc
Function at 0x40de20
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a569
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [str._t_a_f_b_f_t_f_n_a_v_b_f]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
xor eax, eax
mov edi, ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov dword [ebp - 4], eax
mov byte [ebp - 4], 1
mov edi, edi
cmp edi, dword [ebp + 8]
je 0x40de65
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
cmp esi, eax
mov byte [ebp - 4], 2
je 0x40dde2
push 0xffffffffffffffff
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0xf
push eax
mov byte [esi + 4], al
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.00403970
mov byte [ebp - 4], 1
mov ebx, dword [esi + 0x10]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x34], ebx
mov ebx, dword [edi + 4]
mov dword [esi + 4], ebx
mov ebx, dword [edi + 8]
mov dword [esi + 8], ebx
mov ebx, dword [edi + 0xc]
mov dword [esi + 0xc], ebx
mov ebx, dword [edi + 0x10]
mov dword [esi + 0x10], ebx
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edi + 0xc], edx
mov edx, dword [edi + 0x14]
mov dword [edi + 0x10], ecx
mov eax, dword [esi + 0x14]
mov dword [esi + 0x14], edx
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x18], ecx
mov dword [edi + 0x18], eax
add esi, 0x1c
add edi, 0x1c
mov dword [ebp - 0x44], esi
xor eax, eax
jmp 0x40ddb0
cmp dword [ebp - 0x18], 0x10
jb 0x40de77
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00415d05
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00415883
mov esp, ebp
pop ebp
ret