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

Disassembly:
push 0xffffffffffffffff
push 0x47bd93
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.0046d439
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.00472baf
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00474107
test eax, eax
je 0x4402ac
mov ecx, dword [esp + 0x3c]
call fcn.00472bdc
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 0x440270
push edi
mov ecx, esi
call fcn.0047019d
mov ecx, esi
call fcn.00440410
cmp dword [esp + 0x38], 1
jne 0x4402a5
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.00470307
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 0x442cd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442d03
push esi
call fcn.00445de0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x442cfc
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 0x442d89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442d72
mov eax, dword [esi + 8]
test eax, eax
je 0x442d27
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 0x442d6e
cmp eax, 2
je 0x442d72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x442d1a
cmp eax, 3
je 0x442d4d
cmp eax, 1
jne 0x442d1a
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 0x442d1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x442d1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442db0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442d98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442db0
add esp, 4
pop esi
ret

Function at 0x44e070
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 0x44e0d6
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 0x44e0d6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44e0b7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x44e460
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44e498
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x44f1c0
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 0x44f209
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 0x44f680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47c290
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.0044f230
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044f2b0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044f2b0
lea ecx, [esi + 0xc]
call fcn.0046bdc7
lea ecx, [esi + 0x10]
call fcn.0046bdc7
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00450840
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00450840
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00450840
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046be3c
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046be3c
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46e22f
Capabilities:
Get graphical window text

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

Function at 0x46f926
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 0x46f968
call fcn.004758ce
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46f968
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46f95f
xor eax, eax
jmp 0x46f970
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046f976
pop edi
pop esi
pop ebx
ret 4

Function at 0x475dfe
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 0x475e2c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x475e4a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00475d64
jmp 0x475e4a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x475e4a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00475d64
test edi, edi
mov eax, edi
jne 0x475e34
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401c00
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
mov esi, dword [ebp + 0xc]
xor edx, edx
or eax, 0xffffffff
mov ecx, dword [ebp + 8]
lea esp, [esp]
lea esp, [esp]
nop
mov dl, byte [esi]
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x401040]
add esi, 1
sub ecx, 1
jne 0x401c20
not eax
pop edx
pop ecx
pop esi
leave
ret 8

Function at 0x4067ac
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
push edi
mov esi, dword [ebp + 8]
xor ecx, ecx
jmp 0x4067f0
inc ecx
cmp ecx, dword [0x40c029]
jne 0x4067f0
push 0x400
push 0x41e4ad
push 0x16
push dword [0x40b7b2]
call fcn.00406bfe
push 0x41e4ad
call fcn.00402d3c
xor eax, eax
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 0x10
cmp dword [ecx + esi], 0x4550
jne 0x4067bb
add esi, ecx
mov eax, dword [ebp + 8]
add eax, dword [0x40c029]
cmp dword [eax - 4], 0x32505564
jne 0x406830
push 0x400
push 0x41e8ad
push 0x17
push dword [0x40b7b2]
call fcn.00406bfe
push 0x41e8ad
call fcn.00402d3c
jmp 0x4067e5
push esi
movzx eax, word [esi + 6]
dec eax
imul eax, eax, 0x28
movzx ecx, word [esi + 0x14]
add esi, 0x18
add esi, ecx
mov edi, esi
or dword [edi + 0x24], 0x80000000
add edi, eax
pop esi
cmp dword [ebp + 0xc], 4
jne 0x406859
mov ecx, dword [esi + 0x34]
jmp 0x40685b
xor ecx, ecx
mov dword [0x405f3a], ecx
mov ebx, dword [esi + 0x28]
mov ecx, dword [esi + 0x34]
mov dword [0x405f32], ebx
add dword [0x405f32], ecx
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov dword [esi + 0x28], eax
cmp dword [ebp + 0xc], 4
jne 0x40688c
mov eax, dword [edi + 0xc]
mov ebx, dword [edi + 0x10]
add eax, ebx
jmp 0x40688e
xor eax, eax
mov dword [0x405f3e], eax
mov eax, dword [ebp + 8]
add eax, dword [edi + 0x14]
add eax, dword [edi + 0x10]
mov ecx, 0x405d17
mov ebx, 0x23e
mov edx, eax
add edx, ebx
push edx
push ebx
push ecx
push eax
call fcn.00406d12
pop edx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x16]
lea ecx, [eax + ecx]
mov ebx, dword [0x40b790]
sub ebx, eax
push ebx
push ecx
push edx
call fcn.00406d12
mov eax, dword [ebp + 0x10]
push 0x100
push eax
call fcn.00407050
add dword [edi + 8], eax
add dword [edi + 0x10], eax
or dword [edi + 0x24], 0xe0000000
mov eax, dword [edi + 0xc]
add eax, dword [edi + 8]
mov ebx, dword [esi + 0x38]
push ebx
push eax
call fcn.00407050
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
add eax, dword [0x40c035]
mov dword [eax - 4], 0x32505564
xor eax, eax
inc eax
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 0x10

Function at 0x40a688
Capabilities:
Hash data with md5

Disassembly:
push edi
xor eax, eax
mov dword [0x41ee10], eax
xor eax, eax
mov dword [0x41ee14], eax
mov edi, 0x41edc0
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov eax, 0x41ee00
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop edi
ret
Function at 0x404c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4436e3
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4

Function at 0x405da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4448e0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0xffffffff
lea esi, [esp + 0x1c]
mov dword [esp + 0x58], 2
call fcn.00404c70
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
lea eax, [esp + 0xc]
mov ecx, esi
mov byte [esp + 0x58], 3
call fcn.00405760
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x405e2c
xor esi, esi
jmp 0x405e3b
mov esi, dword [esp + 0x14]
push eax
sub esi, eax
call fcn.00430a06
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
je 0x405e58
push eax
call fcn.00430a06
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
je 0x405e75
push eax
call fcn.00430a06
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
je 0x405e92
push eax
call fcn.00430a06
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x50
ret

Function at 0x407130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446626
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
call fcn.00409f70
mov dword [esi + 4], eax
mov byte [eax + 0x35], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0x28], 7
mov dword [esi + 0x24], eax
mov word [esi + 0x14], ax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x40a450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x443088
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
xor esi, esi
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], esi
push esi
mov eax, ebx
mov ecx, edi
mov word [edi + 4], si
call fcn.004025a0
mov dword [esp + 0x14], esi
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
lea eax, [ebx + 0x20]
lea esi, [edi + 0x20]
call fcn.00409680
mov cl, byte [ebx + 0x30]
mov byte [edi + 0x30], cl
mov dl, byte [ebx + 0x31]
mov byte [edi + 0x31], dl
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x40add0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44656c
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4541b0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
push 0x2d
mov edi, 7
push 0x44a590
lea esi, [esp + 0x44]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.00402690
mov dword [esp + 0x84], 1
push 0x32
push 0x44a5f0
lea esi, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.00402690
mov dword [esp + 0x84], 2
lea esi, [esp + 0x3c]
lea esp, [esp]
push esi
lea edi, [esp + 0x24]
call fcn.0040b490
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x8c], 3
call fcn.004025a0
mov byte [esp + 0x84], 2
cmp dword [esp + 0x38], 8
jb 0x40aeac
mov eax, dword [esp + 0x24]
push eax
call fcn.00430a06
add esp, 4
mov ecx, esi
call fcn.0042f03f
test al, al
jne 0x40af18
add ebx, 1
add esi, 0x1c
cmp ebx, 2
jb 0x40ae70
push 0x401940
push 2
xor eax, eax
push 0x1c
lea edx, [esp + 0x48]
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], eax
mov word [ebp + 4], ax
push edx
mov dword [esp + 0x28], 1
mov byte [esp + 0x94], 0
call fcn.00430ccc
mov eax, ebp
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00431099
add esp, 0x74
ret 4
lea eax, [ebx*8]
sub eax, ebx
push 0xffffffffffffffff
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
lea eax, [esp + eax*4 + 0x40]
push 0
mov ecx, ebp
mov word [ebp + 4], 0
call fcn.004025a0
push 0x401940
push 2
push 0x1c
lea ecx, [esp + 0x48]
push ecx
jmp 0x40aee0
Function at 0x40b280
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4447c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.004025a0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40b2d4
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.0040b180
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.004025a0
cmp dword [esp + 0x24], 8
jb 0x40b31a
mov eax, dword [esp + 0x10]
push eax
call fcn.00430a06
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x40e0a0
Capabilities:
Check http status code

Disassembly:
sub esp, 8
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp], 0
mov dword [esp + 4], 4
je 0x40e0e8
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0x20000013
push eax
call dword [0x4483e8]
test eax, eax
setne al
test al, al
je 0x40e0e8
cmp dword [esp], 0xc8
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret
Function at 0x416790
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x446408
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4541b0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x30]
xor edi, edi
cmp eax, edi
je 0x4167df
lea ecx, [ebx + 0x24]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x30]
call fcn.0040b840
test al, al
jne 0x4167e6
mov byte [ebx + 0x2d], 1
xor al, al
jmp 0x4168e3
mov eax, dword [ebx + 4]
push 0x3eb
push eax
call dword [0x448314]
push edi
push 0x64
push 0x402
push eax
call dword [0x448380]
mov ecx, dword [ebx + 4]
push edi
push ecx
call dword [0x4482f8]
push 0xb
push 0x44af28
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
call fcn.00402690
mov dword [esp + 0x38], edi
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x416843
lea eax, [esp + 0x14]
mov edx, dword [ebx + 4]
mov ebp, dword [0x44831c]
push eax
push 0x3ec
push edx
call ebp
lea edi, [esp + 0x10]
mov esi, ebx
call fcn.004169d0
mov ecx, dword [ebx + 0x30]
call fcn.0040c800
test al, al
jne 0x416888
cmp dword [esp + 0x28], 8
mov byte [ebx + 0x2d], 1
jb 0x416884
mov eax, dword [esp + 0x14]
push eax
call fcn.00430a06
add esp, 4
xor al, al
jmp 0x4168e3
push 6
push 0x44af40
lea esi, [esp + 0x18]
call fcn.00402690
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x4168a7
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 4]
push eax
push 0x3ec
push ecx
call ebp
lea edi, [esp + 0x10]
mov esi, ebx
call fcn.004169d0
push 0x1f4
call dword [0x448208]
cmp dword [esp + 0x28], 8
mov byte [ebx + 0x2c], 1
jb 0x4168e1
mov edx, dword [esp + 0x14]
push edx
call fcn.00430a06
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00431099
add esp, 0x2c
ret
Function at 0x41c7a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x446408
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4541b0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebp
push esi
push edi
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x30]
xor ebp, ebp
cmp eax, ebp
je 0x41c7ef
lea ecx, [ebx + 0x24]
mov dword [eax], ecx
mov edi, dword [ebx + 0x30]
call fcn.0041a690
test al, al
jne 0x41c7f6
mov byte [ebx + 0x2d], 1
xor al, al
jmp 0x41c8f8
mov eax, dword [ebx + 4]
mov esi, dword [0x448314]
push 0x3eb
push eax
call esi
push ebp
push 0x64
push 0x402
push eax
call dword [0x448380]
mov ecx, dword [ebx + 4]
push ebp
push ecx
call dword [0x4482f8]
mov edx, dword [ebx + 4]
push 0x3ed
push edx
call esi
push ebp
push eax
call dword [0x448300]
push 0xb
push 0x44af28
lea esi, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
call fcn.00402690
mov dword [esp + 0x38], ebp
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x41c868
lea eax, [esp + 0x14]
mov ebp, dword [0x44831c]
push eax
mov eax, dword [ebx + 4]
push 0x3ec
push eax
call ebp
lea edi, [esp + 0x10]
mov esi, ebx
call fcn.0041c9e0
mov ecx, dword [ebx + 0x30]
call fcn.0041af40
test al, al
jne 0x41c8ad
cmp dword [esp + 0x28], 8
mov byte [ebx + 0x2d], 1
jb 0x41c8a9
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00430a06
add esp, 4
xor al, al
jmp 0x41c8f8
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x41c8bc
lea eax, [esp + 0x14]
mov edx, dword [ebx + 4]
push eax
push 0x3ec
push edx
call ebp
lea edi, [esp + 0x10]
mov esi, ebx
call fcn.0041c9e0
push 0x1f4
call dword [0x448208]
cmp dword [esp + 0x28], 8
mov byte [ebx + 0x2c], 1
jb 0x41c8f6
mov eax, dword [esp + 0x14]
push eax
call fcn.00430a06
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00431099
add esp, 0x2c
ret
Function at 0x41d270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x445590
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4541b0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x4541b0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
xor esi, esi
mov dword [esp + 0xc], esi
mov ebx, 7
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
mov word [esp + 0x30], si
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
push esi
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x5c], 1
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
call fcn.0041ca40
add esp, 0xc
test al, al
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
mov word [edi + 4], si
jne 0x41d32a
cmp dword [esp + 0x28], 8
jb 0x41d30f
mov edx, dword [esp + 0x14]
push edx
call fcn.00430a06
add esp, 4
cmp dword [esp + 0x44], 8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x41d36d
mov eax, dword [esp + 0x30]
push eax
jmp 0x41d365
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x34]
mov ecx, edi
call fcn.004025a0
cmp dword [esp + 0x28], 8
jb 0x41d34c
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00430a06
add esp, 4
cmp dword [esp + 0x44], 8
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x41d36d
mov edx, dword [esp + 0x30]
push edx
call fcn.00430a06
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00431099
add esp, 0x4c
ret