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

Disassembly:
push 0xffffffffffffffff
push 0x5eb9c8
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 [0x5ff8b0]
push 0
lea ecx, [esp + 0x20]
call fcn.005cbf94
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00464fe0
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.005cbec2
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.005c7956
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.005c7956
push 1
push 0
push 0
mov ecx, esi
call fcn.005c78fe
push 1
push 0
push 1
mov ecx, esi
call fcn.005c78fe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005cc006
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x465800
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5eb9c8
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.005cbf94
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00464fe0
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.005cbec2
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x5ff8b0]
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 0x4658c4
cmp dword [esp + 0x40], 1
jne 0x4658c2
cmp ecx, eax
jge 0x4658c4
mov eax, ecx
cmp eax, 0xc8
jge 0x4658d0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00465680
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x5ff8a8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005cc006
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x466080
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5eba53
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.005c5c6d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x1abc8c0
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], 0x1abc808
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 [0x5ff1c8]
push eax
mov ecx, edi
call fcn.005cc23c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.005d4368
test eax, eax
je 0x46619c
mov ecx, dword [esp + 0x3c]
call fcn.005cc269
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x5ff8d0]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x466160
push edi
mov ecx, esi
call fcn.005c8fda
mov ecx, esi
call fcn.00466340
cmp dword [esp + 0x38], 1
jne 0x466195
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.005c916d
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 0x468100
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x468133
push esi
call fcn.00476490
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46812c
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 0x4681b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4681a2
mov eax, dword [esi + 8]
test eax, eax
je 0x468157
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 0x46819e
cmp eax, 2
je 0x4681a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46814a
cmp eax, 3
je 0x46817d
cmp eax, 1
jne 0x46814a
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 0x46814a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46814a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004681e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4681c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004681e0
add esp, 4
pop esi
ret
Function at 0x4871cd
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ec038
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 0x4871e3
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.0048c410
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.0048c6d0
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.00487250
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x1abf1b8
call fcn.0048c610
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x497960
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1b72f9c]
xor edx, edx
cmp eax, edx
jne 0x497986
xor eax, eax
mov byte [eax + 0x1b72e9c], al
inc eax
cmp eax, 0x100
jl 0x49796e
mov dword [0x1b72f9c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1b72e9c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x497a17
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 0x4979ea
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 0x4979b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x497a20
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 0x497a73
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 0x497a5a
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 0x49e420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ec68e
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.0049ed40
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1ac11fc
call fcn.005c3c60
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x49e4b3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005c3c60
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x49e4ac
push 0
mov ecx, eax
call fcn.004955f0
mov dword [esi + 0xc], eax
jmp 0x49e4b5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x49e4b5
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 0x4abcbe
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x1ac4e20
call fcn.004b23c4
mov edi, 0x94
mov eax, edi
call fcn.004ad620
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x5ff488]
mov ecx, dword [esi + 0x10]
mov dword [0x1b84e2c], ecx
mov eax, dword [esi + 4]
mov dword [0x1b84e38], eax
mov edx, dword [esi + 8]
mov dword [0x1b84e3c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x1b84e30], esi
cmp ecx, 2
je 0x4abd1e
or esi, 0x8000
mov dword [0x1b84e30], esi
shl eax, 8
add eax, edx
mov dword [0x1b84e34], eax
xor esi, esi
push esi
mov edi, dword [0x5ff4d4]
call edi
cmp word [eax], 0x5a4d
jne 0x4abd59
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4abd59
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4abd71
cmp eax, 0x20b
je 0x4abd5e
mov dword [ebp - 0x1c], esi
jmp 0x4abd85
cmp dword [ecx + 0x84], 0xe
jbe 0x4abd59
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x4abd7f
cmp dword [ecx + 0x74], 0xe
jbe 0x4abd59
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.004b2370
pop ecx
test eax, eax
jne 0x4abd99
push 0x1c
call fcn.004abc9a
pop ecx
call fcn.004b2267
test eax, eax
jne 0x4abdaa
push 0x10
call fcn.004abc9a
pop ecx
call fcn.004b2001
mov dword [ebp - 4], esi
call fcn.004b1e03
test eax, eax
jge 0x4abdc3
push 0x1b
call fcn.004abc75
pop ecx
call dword [0x5ff4e4]
mov dword [0x1b8ba24], eax
call fcn.004b1ce1
mov dword [0x1b84d58], eax
call fcn.004b1c3f
test eax, eax
jge 0x4abde9
push 8
call fcn.004abc75
pop ecx
call fcn.004b1a0c
test eax, eax
jge 0x4abdfa
push 9
call fcn.004abc75
pop ecx
push 1
call fcn.004b0a94
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4abe10
push eax
call fcn.004abc75
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x5ff2d0]
call fcn.004b19af
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4abe31
movzx eax, word [ebp - 0x40]
jmp 0x4abe34
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.005b6ca8
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x4abe52
push edi
call fcn.004b0bc1
call fcn.004b0be3
jmp 0x4abe84
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004b23ff
ret
Function at 0x4ba5b8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4ba5e6
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4ba5ed
cmp ebx, dword [eax + 4]
jae 0x4ba5ed
xor eax, eax
jmp 0x4ba7dd
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4ba5fe
xor eax, eax
inc eax
jmp 0x4ba7dc
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4ba614
cmp ecx, edx
jae 0x4ba759
cmp dword [eax + 4], 0
je 0x4ba61d
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4ba605
cmp dword [ebp + 8], 0
je 0x4ba63f
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4ba759
cmp eax, esi
jae 0x4ba759
mov eax, dword [0x1b85120]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4ba664
cmp dword [esi*4 + 0x1b85128], edi
je 0x4ba75d
inc esi
cmp esi, eax
jl 0x4ba652
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x5ff334]
test eax, eax
je 0x4ba7d9
cmp dword [ebp - 8], case.0x555f18.6
jne 0x4ba7d9
test byte [ebp - 0xc], 0xcc
je 0x4ba6e2
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4ba7d9
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4ba7d9
cmp word [eax + 0x18], 0x10b
jne 0x4ba7d9
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4ba7d9
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4ba6e2
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4ba6e2
test byte [ecx + 0x27], 0x80
jne 0x4ba759
push 1
push 0x1b85168
call dword [0x5ff344]
test eax, eax
jne 0x4ba5f6
mov ecx, dword [0x1b85120]
test ecx, ecx
mov edx, ecx
jle 0x4ba716
lea eax, [ecx*4 + 0x1b85124]
cmp dword [eax], edi
je 0x4ba716
dec edx
sub eax, 4
test edx, edx
jg 0x4ba70a
test edx, edx
jne 0x4ba747
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4ba723
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4ba73b
lea eax, [edx*4 + 0x1b85128]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4ba729
cmp ecx, 0x10
jge 0x4ba747
inc ecx
mov dword [0x1b85120], ecx
push 0
push 0x1b85168
call dword [0x5ff344]
jmp 0x4ba5f6
xor eax, eax
jmp 0x4ba7dc
test esi, esi
jle 0x4ba5f6
mov ebx, dword [0x5ff344]
push 1
push 0x1b85168
call ebx
test eax, eax
jne 0x4ba5f6
cmp dword [esi*4 + 0x1b85128], edi
je 0x4ba7b3
mov eax, dword [0x1b85120]
lea esi, [eax - 1]
test esi, esi
jl 0x4ba7a1
cmp dword [esi*4 + 0x1b85128], edi
je 0x4ba79d
dec esi
jns 0x4ba791
test esi, esi
jge 0x4ba7b1
cmp eax, 0x10
jge 0x4ba7ac
inc eax
mov dword [0x1b85120], eax
lea esi, [eax - 1]
jmp 0x4ba7b3
je 0x4ba7cb
xor ecx, ecx
test esi, esi
jl 0x4ba7cb
lea eax, [ecx*4 + 0x1b85128]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4ba7b9
push 0
push 0x1b85168
call ebx
jmp 0x4ba5f6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c48c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5edaa0
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.004c37a0
mov ebx, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ebx
call fcn.005c2ef9
lea ecx, [esp + 0x4c]
mov dword [esp + 0x68], 0
call fcn.005c2ef9
mov eax, dword [esp + 0x78]
mov byte [esp + 0x68], 1
test eax, eax
je 0x4c492c
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004d97a0
lea ecx, [esp + 0x4c]
push ecx
mov ecx, edi
call fcn.004d9820
push ebp
push esi
mov ecx, edi
call fcn.004c41d0
mov edx, dword [esp + 0x74]
inc esi
push eax
push esi
push edx
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.004c4480
mov ebp, dword [ebx + 0x8c]
lea ecx, [esp + 0x3c]
call fcn.005c2ef9
xor esi, esi
mov byte [esp + 0x6c], 2
test ebp, ebp
jle 0x4c49a0
jmp 0x4c496b
mov ebx, dword [esp + 0x10]
push esi
mov ecx, ebx
call fcn.00573b90
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.004c4a90
inc esi
cmp esi, ebp
jl 0x4c4967
mov ecx, edi
call fcn.004c3b00
mov eax, dword [esp + 0x7c]
pop ebp
test eax, eax
je 0x4c4a4b
lea ecx, [esp + 0x24]
call fcn.005c2ef9
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
mov byte [esp + 0x68], 3
mov ebx, eax
jle 0x4c4a16
mov ecx, dword [esp + 0x14]
push 0x10
mov edi, dword [ecx + esi*4]
call fcn.005c3c60
add esp, 4
test eax, eax
je 0x4c4a00
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 0x4c4a02
xor eax, eax
mov edx, dword [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x2c]
call fcn.005c2898
inc esi
cmp esi, ebx
jl 0x4c49ce
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.00521c00
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 2
call fcn.005c2f2c
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 1
call fcn.005c2f2c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 0
call fcn.005c2f2c
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0xffffffff
call fcn.005c2f2c
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 0x4cc660
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5ee0d4
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.0057a050
lea edi, [esi + 0x9c]
mov dword [esp + 0x1c], ebp
mov ecx, edi
call fcn.005c2ef9
mov dword [edi], 0x1acabd4
lea edi, [esi + 0xb0]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.005c2ef9
mov dword [edi], 0x1acabd4
lea edi, [esi + 0xcc]
mov byte [esp + 0x1c], 2
mov ecx, edi
call fcn.005c2ef9
mov dword [edi], 0x1acabc8
mov ecx, dword [0x1b29e58]
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], 0x1aca8cc
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 0x4d9be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ee498
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.005c2ef9
lea eax, [esp + 0xc]
xor edi, edi
push eax
push 1
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.004d8770
mov ebp, dword [esp + 0x14]
cmp ebp, edi
jle 0x4d9c62
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.004bf6c0
inc edi
cmp edi, ebp
jl 0x4d9c27
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c2f2c
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x4d9c90
Capabilities:
Access peb ldr_data

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

Function at 0x4d9e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ee498
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.005c2ef9
lea eax, [esp + 0xc]
xor edi, edi
push eax
push 3
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.004d8770
mov ebp, dword [esp + 0x14]
cmp ebp, edi
jle 0x4d9ee2
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.004bf6c0
inc edi
cmp edi, ebp
jl 0x4d9ea7
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.005c2f2c
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc