joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443a38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x455bbc], 0
je 0x443b87
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x454044]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x443b87
mov eax, dword [0x455bc0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x455bbc]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x443b56
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x455bbc]
call fcn.00417218
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x443b4e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x443b4e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x443b4e
mov eax, dword [ebp - 0x14]
call fcn.0044c59c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x443b4e
push ebp
call fcn.004439f4
pop ecx
test al, al
jne 0x443b4e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x443b0a
mov eax, dword [ebp - 0x14]
call fcn.0044b0cc
dec eax
jle 0x443b4e
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403300
cmp byte [ebp - 1], 0
je 0x443b4e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x443b4e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x455bc0]
call fcn.004431c0
inc edi
dec ebx
jne 0x443a9d
mov eax, dword [0x455bc0]
cmp dword [eax + 8], 0
jle 0x443b6e
mov eax, dword [0x455bc0]
call fcn.00443250
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x443b87
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044385c
pop ecx
test al, al
jne 0x443b87
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447120
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44716c
mov eax, esi
call fcn.0042f020
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44716c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44716c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4472ab
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4471ac
cmp eax, 0x108
ja 0x4471ac
mov eax, esi
call fcn.0042f020
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4472a2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4472ab
jmp 0x4472a2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44728b
cmp eax, 0x20a
ja 0x44728b
test byte [esi + 0x50], 0x80
jne 0x4471de
sub eax, 0x203
je 0x4471db
sub eax, 3
je 0x4471db
sub eax, 3
jne 0x4471de
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4471f2
dec eax
je 0x447207
dec eax
je 0x447224
dec eax
je 0x447207
jmp 0x44722b
mov ecx, ebx
mov eax, dword [0x454044]
mov eax, dword [eax]
mov edx, esi
call fcn.004387cc
jmp 0x4472a2
cmp byte [esi + 0x5d], 1
jne 0x44721d
mov eax, esi
mov si, 0xffed
call fcn.00403300
jmp 0x4472ab
or word [esi + 0x54], 1
jmp 0x4472a2
and word [esi + 0x54], 0xfffe
jmp 0x4472a2
mov eax, dword [0x455b78]
cmp byte [eax + 0x20], 0
je 0x4472a2
mov eax, dword [0x455b78]
cmp dword [eax + 0x1c], 0
je 0x4472a2
mov eax, dword [ebx]
mov edx, dword [0x455b78]
cmp eax, dword [edx + 0x1c]
jne 0x4472a2
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0042ef64
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403300
jmp 0x4472ab
cmp eax, 0xb00b
jne 0x4472a2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00445a88
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a72c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44a748
cmp dword [esi + 4], 0
je 0x44a775
test byte [ebx + 0x55], 1
jne 0x44a767
mov eax, ebx
call fcn.00449338
test eax, eax
jne 0x44a767
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44a885
mov edx, esi
mov eax, ebx
call fcn.0044a250
jmp 0x44a885
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44a87e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044c59c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00447054
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044a72c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044c59c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a885
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450c94
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4541b8]
cmp byte [eax + 0xc], 0
je 0x450e01
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450dfa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x455bcc], 0
jne 0x450ce8
push 0x450e08
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x450e10
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bcc], eax
cmp dword [0x453d68], 0
jne 0x450de3
push 0x450e20
call sub.kernel32.dll_LoadLibraryA
mov dword [0x453d68], eax
cmp dword [0x453d68], 0
je 0x450de3
push 0x450e2c
mov eax, dword [0x453d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bd0], eax
push 0x450e3c
mov eax, dword [0x453d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bd4], eax
push 0x450e50
mov eax, dword [0x453d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bd8], eax
push 0x450e68
mov eax, dword [0x453d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bdc], eax
push 0x450e80
mov eax, dword [0x453d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455be0], eax
push 0x450e94
mov eax, dword [0x453d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455be4], eax
push 0x450eac
mov eax, dword [0x453d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455be8], eax
push 0x450ec4
mov eax, dword [0x453d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bec], eax
push 0x450ee0
mov eax, dword [0x453d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bf0], eax
push 0x450eec
mov eax, dword [0x453d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bf4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450e01
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4516ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x451710
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004040d0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004082b8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451717
lea eax, [ebp - 0xc]
call fcn.00403e60
ret
Function at 0x451748
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4517a3
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x451777
call fcn.0040cfb8
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 6
call fcn.004028d0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 6
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4517a3
call fcn.0040cfb8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x451bf8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404738
push eax
mov eax, dword [ebp + 0x10]
call fcn.00404738
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404738
push eax
mov eax, esi
call fcn.00404738
push eax
push ebx
call sub.shell32.dll_ShellExecuteW
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4326c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa49a00]
xor edx, edx
cmp eax, edx
jne 0x4326e6
xor eax, eax
mov byte [eax + 0xa49900], al
inc eax
cmp eax, 0x100
jl 0x4326ce
mov dword [0xa49a00], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa49900
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x432777
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43274a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x432718
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4327f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x432843
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43282a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439870
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x439a08
cmp ebp, ebx
jle 0x439a08
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4398ce
dec eax
or eax, 0xfffffff8
inc eax
je 0x4398d5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x4398e4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4398eb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00677d47
add esp, 4
cmp eax, ebx
je 0x43990c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00677d47
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4399fe
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4399e5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4399d1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4399c6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4399d4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4399d4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x439970
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x439961
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x441c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x685710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0043f7b0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x441cc9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.0043cb30
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.0043cb20
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00441320
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x688630]
push 0
lea ecx, [esp + 0x4c]
call fcn.0067e9cf
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00457f20
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0043f1d0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x688164]
mov ecx, ebx
call fcn.0043caa0
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x441d94
push edi
mov ecx, esi
call fcn.0043f2e0
push eax
push ebp
mov ecx, esi
call fcn.0043f4a0
cmp eax, dword [esp + 0x40]
jg 0x441d90
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x441d6e
mov eax, ebx
jmp 0x441d9a
cmp edi, ebx
jl 0x441d98
mov eax, ebx
jmp 0x441d9a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x441dab
mov dword [esp + 0x30], eax
jmp 0x441db6
cmp edi, ebx
jl 0x441db1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.0043ca60
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x441dfd
push edi
mov ecx, esi
call fcn.0043f200
push eax
push ebx
mov ecx, esi
call fcn.0043f5d0
cmp eax, dword [esp + 0x44]
jg 0x441df5
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x441dcf
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x441e07
cmp edi, ebp
jl 0x441e01
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x441e07
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x441e10
mov ecx, eax
jmp 0x441e19
cmp edi, ebp
jl 0x441e16
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0043f1f0
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0067ea41
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x447eb0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x685bc8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x447ee9
inc eax
mov dword [esi + 0x10], eax
jmp 0x447ffc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x447efd
mov eax, 0xffffffc7
jmp 0x447ffe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x447f0e
cmp dword [esi + 8], eax
jne 0x447efd
cmp dword [esi + 8], eax
jne 0x447f27
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x447f27
mov eax, 0xffffffc7
jmp 0x447ffe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x447f3b
push eax
mov ecx, ebx
call fcn.004476e0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004158b0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x447f6c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004158d0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00446e50
test eax, eax
mov dword [esp + 0x38], eax
je 0x447f9f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x984598
call fcn.00415ab0
mov eax, dword [esp + 0x38]
jmp 0x447ffe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00447d10
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x447fe3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00447d30
mov esi, eax
test esi, esi
jne 0x448013
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00447d10
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x447fb5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x984598
call fcn.00415ab0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x984598
call fcn.00415ab0
mov eax, esi
jmp 0x447ffe
Function at 0x4585c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6864b8
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 [0x688630]
push 0
lea ecx, [esp + 0x20]
call fcn.0067e9cf
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00457f20
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.0067e8fd
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.0067b1c1
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.0067b1c1
push 1
push 0
push 0
mov ecx, esi
call fcn.0067b169
push 1
push 0
push 1
mov ecx, esi
call fcn.0067b169
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0067ea41
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x458740
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6864d8
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.0067e9cf
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00457f20
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.0067e8fd
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x688630]
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 0x458804
cmp dword [esp + 0x40], 1
jne 0x458802
cmp ecx, eax
jge 0x458804
mov eax, ecx
cmp eax, 0xc8
jge 0x458810
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004585c0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x688628]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0067ea41
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8