joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4843f5
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 0x48450d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48450d
mov eax, dword [esi + 0x3c]
push eax
call fcn.005d5a47
mov esi, eax
test esi, esi
je 0x48450d
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 0x48450d
mov ecx, esi
call fcn.00484380
cmp edi, eax
jge 0x48450d
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 0x484493
mov dword [esp + 0x34], 1
jmp 0x4844ee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x48450d
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.00482c10
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 0x48775d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5fc3e8
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 0x487773
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.0048cae0
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.0048cda0
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.004877e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x1a1cf60
call fcn.0048cce0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x48c610
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 0x48c65c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x48c65c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x48c646
push eax
call ebp
test ax, ax
jl 0x48c654
inc esi
add edi, 4
cmp esi, 6
jb 0x48c638
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0048c310
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x48f040
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x48f0a0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x48f0a0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x48f0a0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x48f0a0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x48f0b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4937e0
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 + 0x1a865d4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4937f3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x493834
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 + 0x1a8667c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x493866
mov bl, byte [esp + ecx + 0x4c]
jmp 0x49386a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x49385b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x493888
mov bl, byte [esp + ecx + 0x4c]
jmp 0x49388c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x49387d
xor ecx, ecx
mov eax, 0x1a865e4
xor ebx, ebx
mov bl, byte [ecx + 0x1a8668c]
cmp byte [esp + ebx + 0x14], 0
je 0x4938b7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x1a866a4]
cmp byte [esp + ebx + 0x14], 0
je 0x4938ce
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 0x49389e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x493827
lea edx, [esp + 0x84]
push edx
call fcn.00493910
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x496b40
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x496b87
mov edi, dword [esp + 0x10]
push edi
call fcn.005d35ea
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.004afcc2
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 0x496bbb
mov eax, dword [esi + 0x18]
test eax, eax
je 0x496bbb
mov edx, dword [ecx]
call dword [edx + 0x40]
test al, al
je 0x496ba5
mov eax, dword [esi + 0x7c]
test eax, eax
jg 0x496bbb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00496c80
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 0x496bee
cmp edi, 0x5a
jle 0x496bee
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x44]
test al, al
je 0x496bee
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 0x496c1d
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov al, byte [esp + 0x18]
test al, al
je 0x496c63
cmp ebx, 1
jge 0x496c63
mov ecx, dword [esi + 0x18]
mov edx, edi
shr edx, 1
cmp dword [ecx + 0xc], edx
jae 0x496c63
mov al, byte [esi + 0x1d]
test al, al
jne 0x496c63
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0xc], edi
jae 0x496c63
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0x5a
jg 0x496c63
mov al, byte [esi + 0x1d]
test al, al
je 0x496c43
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00496c80
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x497e20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, ecx
mov al, byte [ebp + 0x24]
test al, al
jne 0x497e47
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.004afcc2
add esp, 0x10
pop ebp
ret 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.004b0ca5
mov ebx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
push esi
push eax
push 1
push ebx
call fcn.004afcc2
mov esi, eax
add esp, 0x14
test esi, esi
jbe 0x497e7b
push esi
push ebx
push edi
mov ecx, ebp
call fcn.00497fd0
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x497e90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1ad749c]
xor edx, edx
cmp eax, edx
jne 0x497eb6
xor eax, eax
mov byte [eax + 0x1ad739c], al
inc eax
cmp eax, 0x100
jl 0x497e9e
mov dword [0x1ad749c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1ad739c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x497f47
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 0x497f1a
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 0x497ee8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x497f50
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 0x497fa3
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 0x497f8a
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 0x49e950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fcafe
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.0049f270
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1a1efec
call fcn.005d35ea
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x49e9e3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005d35ea
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x49e9dc
push 0
mov ecx, eax
call fcn.00495b00
mov dword [esi + 0xc], eax
jmp 0x49e9e5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x49e9e5
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 0x4bad28
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1a8f800]
jne 0x4bad32
repz ret
jmp fcn.004c3d76
Function at 0x4c2ddf
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004b538b
xor ebx, ebx
cmp dword [0x1ae9ad0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4c2eb4
push 0x1a27df0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4c2e1f
xor eax, eax
jmp 0x4c2f78
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1a27de4
push edi
call esi
cmp eax, ebx
je 0x4c2e18
push eax
call fcn.004b5328
mov dword [esp], 0x1a27dd4
push edi
mov dword [0x1ae9ad0], eax
call esi
push eax
call fcn.004b5328
mov dword [esp], 0x1a27dc0
push edi
mov dword [0x1ae9ad4], eax
call esi
push eax
call fcn.004b5328
mov dword [0x1ae9ad8], eax
lea eax, [ebp - 8]
push eax
call fcn.004b3b8d
test eax, eax
pop ecx
pop ecx
je 0x4c2e82
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004b979c
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4c2eb4
push 0x1a27da4
push edi
call esi
push eax
call fcn.004b5328
cmp eax, ebx
pop ecx
mov dword [0x1ae9ae0], eax
je 0x4c2eb4
push 0x1a27d8c
push edi
call esi
push eax
call fcn.004b5328
pop ecx
mov dword [0x1ae9adc], eax
mov eax, dword [0x1ae9adc]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4c2f2d
cmp dword [0x1ae9ae0], esi
je 0x4c2f2d
push eax
call fcn.004b5394
pop ecx
call eax
cmp eax, ebx
je 0x4c2efa
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x1ae9ae0]
call fcn.004b5394
pop ecx
call eax
test eax, eax
je 0x4c2efa
test byte [ebp - 0x18], 1
jne 0x4c2f2d
lea eax, [ebp - 0xc]
push eax
call fcn.004b3bc4
test eax, eax
pop ecx
je 0x4c2f15
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004b979c
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4c2f24
or dword [ebp + 0x10], 0x200000
jmp 0x4c2f5e
or dword [ebp + 0x10], 0x40000
jmp 0x4c2f5e
mov eax, dword [0x1ae9ad4]
cmp eax, esi
je 0x4c2f5e
push eax
call fcn.004b5394
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4c2f5e
mov eax, dword [0x1ae9ad8]
cmp eax, esi
je 0x4c2f5e
push dword [ebp - 4]
push eax
call fcn.004b5394
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x1ae9ad0]
call fcn.004b5394
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4cabd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5fdd68
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.005d27c7
mov dword [esp + 0xc], 0x1a28f38
mov edi, dword [ebx + 0x180]
mov dword [esp + 0x30], 0
test edi, edi
je 0x4cac49
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 0x4cac45
push esi
lea ecx, [esp + 0x10]
call fcn.005d261b
mov edx, dword [esi]
push 0xfffffffffffffffe
mov ecx, esi
call dword [edx + 0x21c]
push esi
mov ecx, ebx
call fcn.004ca970
test edi, edi
jne 0x4cac12
push 0
push 0
mov ecx, ebx
call fcn.004caa70
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4cac71
mov eax, esi
mov esi, dword [esi]
push 1
mov ecx, ebx
mov eax, dword [eax + 8]
push eax
call fcn.004caa70
test esi, esi
jne 0x4cac5c
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.005d2806
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4cfc60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5fe470
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.004ceb40
mov ebx, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
call fcn.005d299c
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0
call fcn.005d299c
mov eax, dword [esp + 0x78]
mov byte [esp + 0x68], 1
test eax, eax
je 0x4cfccc
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004e4b70
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.004e4bf0
push ebp
push esi
mov ecx, edi
call fcn.004cf570
mov edx, dword [esp + 0x74]
inc esi
push eax
push esi
push edx
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.004cf820
mov ebp, dword [ebx + 0x8c]
lea ecx, [esp + 0x3c]
call fcn.005d299c
xor esi, esi
mov byte [esp + 0x6c], 2
test ebp, ebp
jle 0x4cfd40
jmp 0x4cfd0b
mov ebx, dword [esp + 0x10]
push esi
mov ecx, ebx
call fcn.0057f0c0
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.004cfe30
inc esi
cmp esi, ebp
jl 0x4cfd07
mov ecx, edi
call fcn.004ceea0
mov eax, dword [esp + 0x7c]
pop ebp
test eax, eax
je 0x4cfdeb
lea ecx, [esp + 0x24]
call fcn.005d299c
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
mov byte [esp + 0x68], 3
mov ebx, eax
jle 0x4cfdb6
mov ecx, dword [esp + 0x14]
push 0x10
mov edi, dword [ecx + esi*4]
call fcn.005d35ea
add esp, 4
test eax, eax
je 0x4cfda0
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 0x4cfda2
xor eax, eax
mov edx, dword [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.005d22a9
inc esi
cmp esi, ebx
jl 0x4cfd6e
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.0052cf40
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 2
call fcn.005d29cf
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 1
call fcn.005d29cf
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0
call fcn.005d29cf
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0xffffffff
call fcn.005d29cf
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 0x4d7a10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5fecc4
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.00585820
lea edi, [esi + 0x9c]
mov dword [esp + 0x1c], ebp
mov ecx, edi
call fcn.005d299c
mov dword [edi], method.CObArray.virtual_0
lea edi, [esi + 0xb0]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.005d299c
mov dword [edi], method.CObArray.virtual_0
lea edi, [esi + 0xcc]
mov byte [esp + 0x1c], 2
mov ecx, edi
call fcn.005d299c
mov dword [edi], method.CObArray.virtual_0
mov ecx, dword [0x1a8db40]
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], 0x1a2956c
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 0x4e4fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ff608
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.005d299c
lea eax, [esp + 0xc]
xor edi, edi
push eax
push 1
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.004e3b40
mov ebp, dword [esp + 0x14]
cmp ebp, edi
jle 0x4e5032
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.004caa40
inc edi
cmp edi, ebp
jl 0x4e4ff7
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005d29cf
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x4e5060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ff628
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.005d299c
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 1
mov dword [esp + 0x30], 0
call fcn.004e3b40
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e50da
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.005d29cf
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x4e5230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ff668
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.005d299c
lea eax, [esp + 0xc]
xor edi, edi
push eax
push 3
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.004e3b40
mov ebp, dword [esp + 0x14]
cmp ebp, edi
jle 0x4e52b2
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.004caa40
inc edi
cmp edi, ebp
jl 0x4e5277
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005d29cf
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc