joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c400
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46c433
push esi
call fcn.0047a710
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46c42c
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 0x46c4b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46c4a2
mov eax, dword [esi + 8]
test eax, eax
je 0x46c457
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 0x46c49e
cmp eax, 2
je 0x46c4a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46c44a
cmp eax, 3
je 0x46c47d
cmp eax, 1
jne 0x46c44a
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 0x46c44a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46c44a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046c4e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46c4c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046c4e0
add esp, 4
pop esi
ret

Function at 0x46cd40
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x46cd61
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x46cd61
mov eax, dword [eax + 0x44]
test eax, eax
je 0x46cd61
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x487fc0
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 0x488063
test eax, eax
jbe 0x488063
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x488063
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 0x48800e
xor esi, esi
jmp 0x488014
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x48803f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00489880
add esi, eax
push esi
mov ebx, esi
call fcn.00489880
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x488020
pop ebp
test edi, edi
pop edi
jne 0x488063
test ebx, ebx
je 0x488063
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004afed0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x488185
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 0x48829d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48829d
mov eax, dword [esi + 0x3c]
push eax
call fcn.005d55ef
mov esi, eax
test esi, esi
je 0x48829d
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 0x48829d
mov ecx, esi
call fcn.00488110
cmp edi, eax
jge 0x48829d
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 0x488223
mov dword [esp + 0x34], 1
jmp 0x48827e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x48829d
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.004869d0
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 0x48b32d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fa9d8
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x48b343
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.00490460
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.00490720
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.0048b3b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x1ad9910
call fcn.00490660
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x490160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4901ac
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4901ac
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x490196
push eax
call ebp
test ax, ax
jl 0x4901a4
inc esi
add edi, 4
cmp esi, 6
jb 0x490188
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0048fe60
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4962f0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x1b395d4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x496303
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x496344
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x1b3967c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x496376
mov bl, byte [esp + ecx + 0x4c]
jmp 0x49637a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x49636b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x496398
mov bl, byte [esp + ecx + 0x4c]
jmp 0x49639c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x49638d
xor ecx, ecx
mov eax, 0x1b395e4
xor ebx, ebx
mov bl, byte [ecx + 0x1b3968c]
cmp byte [esp + ebx + 0x14], 0
je 0x4963c7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x1b396a4]
cmp byte [esp + ebx + 0x14], 0
je 0x4963de
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4963ae
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x496337
lea edx, [esp + 0x84]
push edx
call fcn.00496420
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x499460
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4994a7
mov edi, dword [esp + 0x10]
push edi
call fcn.005d3192
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xa4]
mov ecx, dword [ecx]
push eax
push edi
push 1
push ecx
call fcn.004b1766
sub eax, edi
add esp, 0x14
neg eax
sbb eax, eax
pop edi
and eax, 0x21
pop esi
ret 0xc
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4994db
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4994db
mov edx, dword [ecx]
call dword [edx + 0x40]
test al, al
je 0x4994c5
mov eax, dword [esi + 0x7c]
test eax, eax
jg 0x4994db
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.004995a0
pop edi
pop esi
ret 0xc
mov ecx, dword [esi + 0x18]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, eax
cmp ebx, 0x5a
jle 0x49950e
cmp edi, 0x5a
jle 0x49950e
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x44]
test al, al
je 0x49950e
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0x7c]
imul eax, dword [esi + 0x3c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x1fff
add eax, edx
mov edi, eax
mov eax, dword [esi + 0x40]
sar edi, 0xd
cmp edi, eax
jbe 0x49953d
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov al, byte [esp + 0x18]
test al, al
je 0x499583
cmp ebx, 1
jge 0x499583
mov ecx, dword [esi + 0x18]
mov edx, edi
shr edx, 1
cmp dword [ecx + 0xc], edx
jae 0x499583
mov al, byte [esi + 0x1d]
test al, al
jne 0x499583
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0xc], edi
jae 0x499583
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0x5a
jg 0x499583
mov al, byte [esi + 0x1d]
test al, al
je 0x499563
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004995a0
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x49a710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, ecx
mov al, byte [ebp + 0x24]
test al, al
jne 0x49a737
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push 1
push edx
call fcn.004b1766
add esp, 0x10
pop ebp
ret 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.004b24bb
mov ebx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
push esi
push eax
push 1
push ebx
call fcn.004b1766
mov esi, eax
add esp, 0x14
test esi, esi
jbe 0x49a76b
push esi
push ebx
push edi
mov ecx, ebp
call fcn.0049a8c0
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x49a780
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1b8a2ac]
xor edx, edx
cmp eax, edx
jne 0x49a7a6
xor eax, eax
mov byte [eax + 0x1b8a1ac], al
inc eax
cmp eax, 0x100
jl 0x49a78e
mov dword [0x1b8a2ac], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1b8a1ac
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x49a837
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 0x49a80a
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 0x49a7d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x49a840
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 0x49a893
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 0x49a87a
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 0x4a1230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fae5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004a1b50
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1adbe3c
call fcn.005d3192
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4a12c3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005d3192
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4a12bc
push 0
mov ecx, eax
call fcn.00498420
mov dword [esi + 0xc], eax
jmp 0x4a12c5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4a12c5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4bb484
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1b42404]
jne 0x4bb48e
repz ret
jmp fcn.004c4037
Function at 0x4c30c4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1b42404]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004b6878
and dword [ebp - 0x14], 0
cmp dword [0x1b9cafc], 0
mov dword [ebp - 0x18], eax
jne 0x4c3177
push 0x1ae5334
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4c321f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1ae5328
push ebx
call edi
test eax, eax
je 0x4c321f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x1ae5318
push ebx
mov dword [0x1b9cafc], eax
call edi
push eax
call esi
push 0x1ae5304
push ebx
mov dword [0x1b9cb00], eax
call edi
push eax
call esi
push 0x1ae52e8
push ebx
mov dword [0x1b9cb04], eax
call edi
push eax
call esi
mov dword [0x1b9cb0c], eax
test eax, eax
je 0x4c3177
push 0x1ae52d0
push ebx
call edi
push eax
call esi
mov dword [0x1b9cb08], eax
mov eax, dword [0x1b9cb08]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4c31d0
cmp dword [0x1b9cb0c], ecx
je 0x4c31d0
push eax
call esi
push dword [0x1b9cb0c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4c31d0
test ebx, ebx
je 0x4c31d0
call edi
test eax, eax
je 0x4c31c7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4c31c7
test byte [ebp - 8], 1
jne 0x4c31d0
or dword [ebp + 0x10], 0x200000
jmp 0x4c3203
mov eax, dword [0x1b9cb00]
cmp eax, dword [ebp - 0x18]
je 0x4c3203
push eax
call esi
test eax, eax
je 0x4c3203
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4c3203
mov eax, dword [0x1b9cb04]
cmp eax, dword [ebp - 0x18]
je 0x4c3203
push eax
call esi
test eax, eax
je 0x4c3203
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1b9cafc]
call esi
test eax, eax
je 0x4c321f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4c3221
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bb484
leave
ret
Function at 0x4cb610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x607fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov ebx, ecx
push edi
push 0xa
lea ecx, [esp + 0x10]
call fcn.005d2188
mov dword [esp + 0xc], 0x1ae6490
mov edi, dword [ebx + 0x180]
mov dword [esp + 0x30], 0
test edi, edi
je 0x4cb689
mov eax, edi
mov edi, dword [edi]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x80]
mov esi, eax
test esi, esi
je 0x4cb685
push esi
lea ecx, [esp + 0x10]
call fcn.005d2013
mov edx, dword [esi]
push 0xfffffffffffffffe
mov ecx, esi
call dword [edx + 0x21c]
push esi
mov ecx, ebx
call fcn.004cb3b0
test edi, edi
jne 0x4cb652
push 0
push 0
mov ecx, ebx
call fcn.004cb4b0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4cb6b1
mov eax, esi
mov esi, dword [esi]
push 1
mov ecx, ebx
mov eax, dword [eax + 8]
push eax
call fcn.004cb4b0
test esi, esi
jne 0x4cb69c
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.005d21e7
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4d0650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5fbbe0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [esp + 0x70]
push edi
mov edi, ecx
push esi
call fcn.004cf530
mov ebx, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
call fcn.005d2372
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0
call fcn.005d2372
mov eax, dword [esp + 0x78]
mov byte [esp + 0x68], 1
test eax, eax
je 0x4d06bc
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004e5540
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.004e55c0
push ebp
push esi
mov ecx, edi
call fcn.004cff60
mov edx, dword [esp + 0x74]
inc esi
push eax
push esi
push edx
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.004d0210
mov ebp, dword [ebx + 0x8c]
lea ecx, [esp + 0x3c]
call fcn.005d2372
xor esi, esi
mov byte [esp + 0x6c], 2
test ebp, ebp
jle 0x4d0730
jmp 0x4d06fb
mov ebx, dword [esp + 0x10]
push esi
mov ecx, ebx
call fcn.0057eca0
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x78]
add edx, ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
lea ebx, [esp + 0x3c]
dec ecx
push ebx
push ecx
push edx
push eax
mov eax, dword [esp + 0x84]
push edx
push eax
mov ecx, edi
call fcn.004d0820
inc esi
cmp esi, ebp
jl 0x4d06f7
mov ecx, edi
call fcn.004cf890
mov eax, dword [esp + 0x7c]
pop ebp
test eax, eax
je 0x4d07db
lea ecx, [esp + 0x24]
call fcn.005d2372
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
mov byte [esp + 0x68], 3
mov ebx, eax
jle 0x4d07a6
mov ecx, dword [esp + 0x14]
push 0x10
mov edi, dword [ecx + esi*4]
call fcn.005d3192
add esp, 4
test eax, eax
je 0x4d0790
add edi, 0x14
mov edx, eax
mov ecx, dword [edi]
mov dword [edx], ecx
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 8]
mov dword [edx + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [edx + 0xc], ecx
jmp 0x4d0792
xor eax, eax
mov edx, dword [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.005d2525
inc esi
cmp esi, ebx
jl 0x4d075e
lea eax, [esp + 0x38]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x18]
push edx
push eax
push 1
push 2
add ecx, 0xb8
call fcn.0052d260
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 2
call fcn.005d23a5
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 1
call fcn.005d23a5
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0
call fcn.005d23a5
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0xffffffff
call fcn.005d23a5
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x74]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc
Function at 0x4d83e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5fc1b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
mov edx, dword [esp + 0x30]
sub esp, 0x10
mov esi, ecx
mov eax, esp
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x38]
push eax
call fcn.00585150
lea edi, [esi + 0x9c]
mov dword [esp + 0x1c], ebp
mov ecx, edi
call fcn.005d2372
mov dword [edi], method.CObArray.virtual_0
lea edi, [esi + 0xb0]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.005d2372
mov dword [edi], method.CObArray.virtual_0
lea edi, [esi + 0xcc]
mov byte [esp + 0x1c], 2
mov ecx, edi
call fcn.005d2372
mov dword [edi], method.CObArray.virtual_0
mov ecx, dword [0x1b40b40]
xor eax, eax
mov dword [esi + 0x118], ecx
mov dword [esi + 0xe8], eax
lea ebx, [esi + 0xf0]
xor ecx, ecx
mov eax, 1
mov dword [esi + 0xec], ecx
mov dword [ebx], eax
mov ecx, eax
mov edx, eax
mov edi, eax
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
mov dword [ebx + 8], edx
mov dword [esi + 0xc8], eax
mov dword [esi + 0x100], eax
mov eax, edi
mov dword [ebx + 0xc], edi
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], eax
mov dword [esi], 0x1ae6ac4
mov dword [esi + 0xe0], ebp
mov dword [esi + 0xe4], ebp
mov dword [esi + 0x98], ebp
mov word [esi + 0xc4], bp
mov dword [esi + 0x104], 0x64
mov dword [esi + 0x108], ebp
mov dword [esi + 0x10c], 2
mov dword [esi + 0x11c], 0xc8
mov dword [esi + 0x120], 0x50
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x14
Function at 0x4e5980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fc808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.005d2372
lea eax, [esp + 0xc]
xor edi, edi
push eax
push 1
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.004e4510
mov ebp, dword [esp + 0x14]
cmp ebp, edi
jle 0x4e5a02
push ebx
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push 0
push eax
mov esi, dword [ecx + edi*4]
push ebx
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x204]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
push 0
push eax
push ebx
mov ecx, esi
call dword [edx + 0x20c]
push 0
push esi
mov ecx, ebx
call fcn.004cb480
inc edi
cmp edi, ebp
jl 0x4e59c7
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005d23a5
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x4e5a30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fc808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [edi], 0
mov dword [ebx], 0
call fcn.005d2372
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 1
mov dword [esp + 0x30], 0
call fcn.004e4510
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e5aaa
mov ecx, dword [esp + 0x10]
push 0
mov esi, dword [ecx]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x208]
mov dword [edi], eax
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x210]
mov dword [ebx], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005d23a5
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x4e5c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fc808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.005d2372
lea eax, [esp + 0xc]
xor edi, edi
push eax
push 3
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.004e4510
mov ebp, dword [esp + 0x14]
cmp ebp, edi
jle 0x4e5c82
push ebx
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
push 1
push eax
mov esi, dword [ecx + edi*4]
push ebx
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x204]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi]
push 1
push eax
push ebx
mov ecx, esi
call dword [edx + 0x20c]
push 0
push esi
mov ecx, ebx
call fcn.004cb480
inc edi
cmp edi, ebp
jl 0x4e5c47
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005d23a5
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc