joyce8/EMBER2024-capa huggingface dataset:
Function at 0x528e50
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, ebx
xor esi, esi
xor edi, edi
call fcn.005e5790
test eax, eax
jle 0x528ea3
lea esp, [esp]
push edi
mov ecx, ebx
call fcn.005e5600
movsx eax, al
push eax
call fcn.006fd268
xor eax, esi
and eax, 0xff
mov ecx, dword [ebp + eax*4 + 0xb268]
shr esi, 8
xor esi, ecx
add esp, 4
mov ecx, ebx
inc edi
call fcn.005e5790
cmp edi, eax
jl 0x528e70
mov eax, esi
xor edx, edx
mov ecx, 0x6ef
div ecx
pop edi
pop esi
pop ebp
pop ebx
mov eax, edx
ret 4

Function at 0x52b170
Capabilities:
Get number of processors
Hash data with crc32

Disassembly:
push 0xffffffffffffffff
push 0x71c868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
push fcn.004015a0
push fcn.004ca7a0
mov esi, ecx
push 0x64
push 0x18
lea ebx, [esi + 0xa8d0]
push ebx
mov dword [esp + 0x24], esi
call fcn.006fb55f
push fcn.005e5c20
push fcn.005b3190
push 5
push 8
lea ebp, [esi + 0xb230]
push ebp
mov dword [esp + 0x30], 0
call fcn.006fb55f
xor ecx, ecx
lea edx, [esi + 0xb268]
mov eax, ecx
mov edi, 8
jmp 0x52b1e0
test al, 1
je 0x52b1ed
shr eax, 1
xor eax, 0xedb88320
jmp 0x52b1ef
shr eax, 1
dec edi
jne 0x52b1e0
mov dword [edx], eax
inc ecx
add edx, 4
cmp ecx, 0xff
jbe 0x52b1d4
xor eax, eax
mov edi, esi
mov ecx, 0x299a
rep stosd dword es:[edi], eax
mov dword [esi + 0xb258], eax
mov dword [esi + 0xb25c], eax
mov dword [esi + 0xb260], eax
mov dword [esi + 0xb264], eax
mov dword [esi + 0xb668], eax
mov dword [esi + 0xb66c], eax
mov dword [esi + 0xb670], eax
lea edi, [esi + 0xa668]
mov ecx, 0x1c
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
lea edi, [esi + 0xa6d9]
mov ecx, 0x7d
rep stosd dword es:[edi], eax
mov edi, ebx
mov ecx, 0x258
rep stosd dword es:[edi], eax
mov edi, ebp
mov ecx, 0xa
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x55d040
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor eax, eax
mov esi, ecx
mov ecx, dword [esi + 0x248]
push edi
xor bl, bl
mov edx, eax
xor edi, edi
test ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jle 0x55d10f
xor ebp, ebp
lea esp, [esp]
test ebp, ebp
jl 0x55d086
cmp edi, dword [esi + 0x248]
jge 0x55d086
mov eax, dword [esi + 0x250]
add eax, ebp
jmp 0x55d088
xor eax, eax
cmp word [eax], 0xa
jne case.default.0x55d09f
movzx ecx, word [eax + 6]
dec ecx
cmp ecx, 0x11
ja case.default.0x55d09f
movzx ecx, byte [ecx + 0x55d278]
jmp dword [ecx*4 + 0x55d268]
mov cl, byte [eax + 0xc]
test cl, cl
je case.default.0x55d09f
cmp ebp, 0xe0
jge 0x55d259
push edi
mov ecx, esi
call fcn.00555a60
mov dl, 1
mov ecx, edi
shl dl, cl
mov byte [esp + edi + 0x14], al
or bl, dl
jmp case.default.0x55d09f
mov eax, dword [esi + 0x258]
test eax, eax
jle case.default.0x55d09f
cmp ebp, 0xe0
jge case.0x55d09f.7
push edi
mov ecx, esi
call fcn.00555a60
mov byte [esp + edi + 0x14], al
mov al, 1
mov ecx, edi
shl al, cl
or bl, al
mov eax, dword [esi + 0x248]
inc edi
add ebp, 0x1c
cmp edi, eax
jl 0x55d070
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
xor cl, cl
cmp dl, byte [esi + 0x239]
lea ebp, [esi + 0x239]
mov byte [esp + 0x10], cl
je 0x55d129
mov cl, 1
mov byte [esp + 0x10], cl
cmp dh, byte [esi + 0x23a]
je 0x55d138
or cl, 2
mov byte [esp + 0x10], cl
mov dl, byte [esp + 0x16]
cmp dl, byte [esi + 0x23b]
je 0x55d14b
or cl, 4
mov byte [esp + 0x10], cl
mov dl, byte [esp + 0x17]
cmp dl, byte [esi + 0x23c]
je 0x55d15e
or cl, 8
mov byte [esp + 0x10], cl
cmp al, byte [esi + 0x23d]
je 0x55d16d
or cl, 0x10
mov byte [esp + 0x10], cl
cmp ah, byte [esi + 0x23e]
je 0x55d17c
or cl, 0x20
mov byte [esp + 0x10], cl
mov ax, word [esp + 0x1a]
cmp al, byte [esi + 0x23f]
je 0x55d190
or cl, 0x40
mov byte [esp + 0x10], cl
cmp ah, byte [esi + 0x240]
je 0x55d19f
or cl, 0x80
mov byte [esp + 0x10], cl
cmp bl, byte [esi + 0x238]
jne 0x55d1af
test cl, cl
je 0x55d232
mov ecx, dword [esp + 0x14]
mov byte [esi + 0x238], bl
mov byte [ebp], cl
mov cl, byte [esp + 0x16]
mov byte [esi + 0x23a], ch
mov byte [esi + 0x23b], cl
mov ecx, dword [esp + 0x18]
mov byte [esi + 0x23c], dl
mov byte [esi + 0x23d], cl
mov byte [esi + 0x23e], ch
mov byte [esi + 0x23f], al
mov byte [esi + 0x240], ah
mov edx, dword [0x7a39fc]
mov ecx, dword [edx + 8]
call fcn.004aedb0
mov ecx, dword [0x7a39fc]
mov ecx, dword [ecx + 8]
mov edi, eax
mov eax, dword [esi + 0x268]
push eax
call fcn.004ae910
test eax, eax
je 0x55d232
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov cl, byte [esi + 0x238]
push ebp
push edx
mov edx, dword [esi + 0x14]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00569e10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov cl, byte [eax + 0x10]
test cl, cl
jbe case.default.0x55d09f
cmp ebp, 0xe0
jge 0x55d259
push edi
mov ecx, esi
call fcn.00555a60
mov byte [esp + edi + 0x14], al
mov dl, 1
mov ecx, edi
shl dl, cl
or bl, dl
jmp case.default.0x55d09f
Function at 0x5b5420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x722770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x28]
push esi
push eax
lea edx, [esp + 0x18]
push edx
call fcn.005b4fb0
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0
call fcn.005b3190
push str.SwitchMask
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.005e5a90
mov eax, dword [0x7a3a28]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0xe4]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x30], 2
call fcn.00413de0
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.005e5c20
mov edx, dword [esp + 0x30]
push 1
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
call fcn.005e6270
mov ecx, eax
mov byte [esp + 0x24], 3
call fcn.005e5630
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x24], 1
call fcn.005e5c20
lea ecx, [esp + 4]
mov byte [esp + 0x24], 0
call fcn.005e5c20
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.005e5c20
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x5cac96
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x723995
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
push fcn.004015a0
push 0x4eadd0
push 0xa
push 0x1c
lea eax, [esi + 0x40]
push eax
mov byte [esp + 0x28], 2
call fcn.006fb55f
mov dword [esi + 0x15c], edi
mov dword [esi + 0x160], edi
mov dword [esi + 0x158], edi
push fcn.0056b6f0
push 0x5a76d0
push 2
push 0xc
lea ecx, [esi + 0x164]
push ecx
mov byte [esp + 0x28], 4
call fcn.006fb55f
push fcn.0056b6f0
push 0x5a76d0
push 2
push 0xc
lea edx, [esi + 0x17c]
push edx
mov byte [esp + 0x28], 5
call fcn.006fb55f
push fcn.0056b6f0
push 0x5a76d0
push 2
push 0xc
lea eax, [esi + 0x194]
push eax
mov byte [esp + 0x28], 6
call fcn.006fb55f
mov ecx, dword [esp + 0xc]
mov dword [esi + 8], edi
mov dword [esi + 0x1b0], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5e7820
Capabilities:
Access peb ldr_data
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x724a7c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.005b3190
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x17c], esi
call fcn.005b3190
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 1
call fcn.005b3190
mov eax, dword [ebp + 8]
mov edx, dword [0x7a39e0]
push 0xffff
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [edx + 0xc]
mov bl, 2
mov byte [esp + 0x188], bl
call fcn.005e68a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 3
call fcn.005e5c50
lea ecx, [esp + 0x28]
mov byte [esp + 0x17c], bl
call fcn.005e5c20
lea ecx, [esp + 0x10]
call fcn.005e5790
dec eax
push eax
lea ecx, [esp + 0x14]
call fcn.005e5600
cmp al, 0x5c
lea ecx, [esp + 0x10]
jne 0x5e78e5
call fcn.005e5670
push eax
push str._s.
lea eax, [esp + 0x18]
push eax
jmp 0x5e78f5
call fcn.005e5670
push eax
push 0x74ddb8
lea ecx, [esp + 0x18]
push ecx
call fcn.005e5680
add esp, 0xc
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x14]
call fcn.005e5670
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x5e79a5
xor ebx, ebx
nop
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.005e5140
add esi, dword [esp + 0x50]
lea ecx, [esp + 0x30]
push ecx
push edi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x5e794a
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x12
jne 0x5e7920
push edi
call dword [sym.imp.kernel32.dll_FindClose]
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 1
call fcn.005e5c20
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 0
call fcn.005e5c20
lea ecx, [esp + 0x10]
mov dword [esp + 0x17c], 0xffffffff
call fcn.005e5c20
mov eax, esi
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 1
call fcn.005e5c20
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 0
call fcn.005e5c20
lea ecx, [esp + 0x10]
mov dword [esp + 0x17c], 0xffffffff
call fcn.005e5c20
mov ecx, dword [esp + 0x174]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5edf70
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors
Get process heap flags
Get process heap force flags
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
jmp 0x5f46f0
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 4]
call fcn.005ed700
mov ecx, eax
jmp fcn.0061b780
Function at 0x60ded0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x727b48
push eax
mov al, byte [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x28
test al, al
push esi
push edi
mov esi, ecx
jne 0x60dfef
mov eax, dword [0x7a39fc]
mov ecx, dword [eax + 4]
mov edi, dword [esi + 4]
call fcn.005ed550
cmp eax, edi
jne 0x60dfef
call fcn.006fc447
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 5
jge 0x60dfef
lea ecx, [esp + 8]
call fcn.005b3190
push str.as_cv_florcreak
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0
call fcn.005e5140
call fcn.006fc447
cdq
mov ecx, 3
idiv ecx
lea ecx, [esp + 0x18]
inc edx
push edx
call fcn.005e5bc0
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 1
call fcn.005e5d10
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.005e5c50
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 1
call fcn.005e5c20
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call fcn.005e5c20
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x24]
call fcn.00406d60
push 0
push 0
push 0
push 0
push 0x13
push 0
sub esp, 0xc
add esi, 0x24
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esi + 8]
mov dword [ecx + 4], eax
lea eax, [esp + 0x44]
mov dword [ecx + 8], edx
mov ecx, dword [0x7a39ec]
push eax
call fcn.005d5e10
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call fcn.005e5c20
mov ecx, dword [esp + 0x30]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret 4
Function at 0x67dcf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x67dd77
push edi
mov edi, dword [eax + 0x50]
test edi, edi
jl 0x67dd76
cmp edi, 4
jge 0x67dd76
mov ecx, edi
imul ecx, ecx, 0x31c
lea edx, [ecx + esi + 0x2de0]
cmp eax, edx
jne 0x67dd76
mov ecx, dword [esi + 0x86d0]
mov eax, dword [ecx + edi*8 + 8]
cmp eax, 0xc
mov edx, dword [ecx + edi*8 + 0xc]
mov dword [esp + 0xc], edx
jl 0x67dd76
cmp eax, 0x12
jge 0x67dd76
push 0x7a23cc
lea ecx, [esi + 0x71c8]
call fcn.0067ca50
mov eax, dword [esi + 0x86d0]
mov edx, dword [eax + edi*8 + 0xc]
lea eax, [eax + edi*8 + 0xc]
xor ecx, ecx
test edx, edx
sete cl
push 0
mov dword [eax], ecx
mov ecx, dword [esi + 0x18]
call fcn.0040a140
pop edi
mov ecx, esi
pop esi
add esp, 8
jmp fcn.0067d4b0
pop edi
pop esi
add esp, 8
ret

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

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x67dd77
push edi
mov edi, dword [eax + 0x50]
test edi, edi
jl 0x67dd76
cmp edi, 4
jge 0x67dd76
mov ecx, edi
imul ecx, ecx, 0x31c
lea edx, [ecx + esi + 0x2de0]
cmp eax, edx
jne 0x67dd76
mov ecx, dword [esi + 0x86d0]
mov eax, dword [ecx + edi*8 + 8]
cmp eax, 0xc
mov edx, dword [ecx + edi*8 + 0xc]
mov dword [esp + 0xc], edx
jl 0x67dd76
cmp eax, 0x12
jge 0x67dd76
push 0x7a23cc
lea ecx, [esi + 0x71c8]
call fcn.0067ca50
mov eax, dword [esi + 0x86d0]
mov edx, dword [eax + edi*8 + 0xc]
lea eax, [eax + edi*8 + 0xc]
xor ecx, ecx
test edx, edx
sete cl
push 0
mov dword [eax], ecx
mov ecx, dword [esi + 0x18]
call fcn.0040a140
pop edi
mov ecx, esi
pop esi
add esp, 8
jmp fcn.0067d4b0
pop edi
pop esi
add esp, 8
ret
Function at 0x696e10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x7308a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.005b3190
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.005b3190
push str.RACE
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 1
call fcn.005e5a90
mov eax, dword [0x7a3a28]
mov edi, dword [esp + 0x48]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x10]
push ecx
movzx ecx, word [edi + 0x18]
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x4c], 2
call int.00413270
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
call fcn.005e5c20
push str.MODELTYPE
lea ecx, [esp + 0x1c]
call fcn.005e5a90
mov edx, dword [0x7a3a28]
mov eax, dword [edx + 0xb8]
mov eax, dword [eax + 0xc]
lea ecx, [esp + 8]
push ecx
movzx ecx, word [edi + 0x18]
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x4c], 3
call int.00413270
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 1
call fcn.005e5c20
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00696d40
push 0x73d71c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], al
call fcn.00406d80
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
call fcn.00406d60
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
call dword [edx + 0x158]
lea ecx, [esp + 8]
mov byte [esp + 0x40], 0
call fcn.005e5c20
lea ecx, [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
call fcn.005e5c20
mov ecx, dword [esp + 0x38]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x6a1650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x730e00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov esi, ecx
push str.OrientationOff
lea ecx, [esp + 0x14]
call fcn.005e5a90
movzx eax, word [esi + 0xc4]
xor edi, edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], edi
call fcn.005e5bc0
mov ecx, dword [0x7a3a28]
mov ecx, dword [ecx + 0xb8]
mov ecx, dword [ecx + 0x88]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x58], 1
call fcn.00414110
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x18]
inc bl
mov byte [esp + 0x4c], 0
call fcn.005e5c20
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], 0xffffffff
call fcn.005e5c20
test bl, bl
je 0x6a1717
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esi]
push edi
call fcn.005e5670
mov edx, dword [esp + 0x5c]
push eax
push edx
mov ecx, esi
call dword [ebx + 0x50]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x44
ret 0xc
cmp dword [esp + 0xc], edi
je 0x6a16e8
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esi]
push 3
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.005e5670
push eax
mov eax, dword [esp + 0x60]
push eax
mov ecx, esi
call dword [edi + 0x50]
mov edx, dword [esi]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
push str.root
mov ecx, esi
call dword [edx + 0x98]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x28], 0x3f800000
mov ecx, dword [esp + 0x28]
mov dword [eax], ecx
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x38]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
push str.root
mov ecx, esi
call dword [edx + 0x94]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 0xc
Function at 0x6a8400
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x73150b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x54
mov edi, ecx
call fcn.006fa7e6
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
mov dword [esp + 0x30], 0
je 0x6a8459
push 0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x24], esp
push str.comptypes
call fcn.00406d80
mov ecx, esi
call fcn.00413cc0
mov esi, eax
jmp 0x6a845b
xor esi, esi
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call int.004143b0
test eax, eax
je 0x6a8503
mov bl, byte [esp + 0x38]
mov eax, dword [esi + 0x24]
movzx ecx, bl
cmp ecx, eax
jl 0x6a8486
test eax, eax
je 0x6a8503
xor bl, bl
lea ecx, [esp + 0x20]
mov byte [edi + 0x48], bl
call fcn.005b3190
push str.ComputerBackground
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 1
call fcn.005e5a90
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
movzx ecx, bl
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 2
call int.00413270
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.005e5c20
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
call fcn.00406d60
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call int.0040a870
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.005e5c20
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 4
Function at 0x6ced60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7359e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [edi + 0x64]
mov dword [edi + 0x484], esi
call fcn.00419a90
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], esi
mov ecx, dword [0x7a3a28]
movzx ebx, byte [ecx + 0xab]
cmp ebx, esi
mov eax, dword [edi + 0x330]
mov dword [esp + 0x44], esi
mov dword [esp + 0x10], eax
je 0x6cedc9
push ebx
lea ecx, [esp + 0x30]
call fcn.005e03c0
cmp ebx, esi
mov dword [esp + 0x30], ebx
jle 0x6cee88
jmp 0x6cede0
push str.Add
lea ecx, [esp + 0x18]
call fcn.005e5a90
mov eax, dword [0x7a3a28]
lea edx, [esp + 0x24]
movzx ecx, si
push edx
mov edx, dword [eax + 0xb4]
shl ecx, 5
add ecx, edx
mov byte [esp + 0x48], 1
call fcn.005cd8d0
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 2
call fcn.005e5d10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 3
call fcn.005e5c50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.005e5c20
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 1
call fcn.005e5c20
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
push eax
push 0x6cecd0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
lea ebp, [edx + esi*4]
call fcn.006cea90
lea ecx, [esp + 0x14]
mov dword [ebp], eax
mov byte [esp + 0x44], 0
call fcn.005e5c20
inc esi
cmp esi, ebx
jl 0x6cede0
xor esi, esi
push esi
push esi
push 1
lea edx, [esp + 0x38]
lea ebx, [edi + 0x64]
push edx
mov ecx, ebx
call fcn.0041c1d0
mov ebp, dword [ebx + 0x2bc]
or ebp, 0x40
push esi
mov dword [ebx + 0x2bc], ebp
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 8]
mov ecx, dword [edi + 0x484]
mov ebp, dword [ebx]
push esi
push ecx
mov ecx, ebx
mov dword [edi + 0x48c], 2
call fcn.0041a5a0
push eax
mov ecx, ebx
call dword [ebp + 8]
mov edx, dword [esp + 0x2c]
push edx
mov dword [esp + 0x48], 0xffffffff
call fcn.006fa390
mov ecx, dword [esp + 0x40]
add esp, 4
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6cf220
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7359e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [edi + 0x64]
mov dword [edi + 0x484], esi
call fcn.00419a90
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], esi
mov ecx, dword [0x7a3a28]
movzx ebx, word [ecx + 0xa6]
cmp ebx, esi
mov eax, dword [edi + 0x330]
mov dword [esp + 0x44], esi
mov dword [esp + 0x10], eax
je 0x6cf289
push ebx
lea ecx, [esp + 0x30]
call fcn.005e03c0
cmp ebx, esi
mov dword [esp + 0x30], ebx
jle 0x6cf350
jmp 0x6cf2a0
push str.Add
lea ecx, [esp + 0x18]
call fcn.005e5a90
mov ecx, dword [0x7a3a28]
mov eax, dword [ecx + 0xa0]
movzx edx, si
movzx eax, word [eax + edx*2]
lea edx, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x4c], 1
call fcn.00550c00
mov ecx, eax
call fcn.005cd760
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 2
call fcn.005e5d10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 3
call fcn.005e5c50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.005e5c20
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 1
call fcn.005e5c20
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push edx
push 0x6cef80
lea eax, [esp + 0x1c]
lea ebp, [ecx + esi*4]
push eax
mov ecx, edi
call fcn.006cea90
lea ecx, [esp + 0x14]
mov dword [ebp], eax
mov byte [esp + 0x44], 0
call fcn.005e5c20
inc esi
cmp esi, ebx
jl 0x6cf2a0
xor esi, esi
push esi
push esi
push 1
lea ecx, [esp + 0x38]
push ecx
lea ebx, [edi + 0x64]
mov ecx, ebx
call fcn.0041c1d0
mov eax, dword [ebx + 0x2bc]
or eax, 0x40
push esi
mov dword [ebx + 0x2bc], eax
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 8]
mov eax, dword [edi + 0x484]
mov ebp, dword [ebx]
push esi
push eax
mov ecx, ebx
mov dword [edi + 0x48c], 3
call fcn.0041a5a0
push eax
mov ecx, ebx
call dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x48], 0xffffffff
call fcn.006fa390
mov ecx, dword [esp + 0x40]
add esp, 4
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret