joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10045820
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100fc5d8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x120]
push edi
mov edi, dword [esi + 0x128]
add edi, ecx
cmp edi, eax
jge 0x100459f2
mov ecx, dword [esi + 0x110]
call fcn.10052110
mov ecx, dword [esi + 0x118]
add eax, edi
cmp eax, ecx
jle 0x100459f2
mov ecx, dword [esi + 0x124]
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x11c]
add ecx, edx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jge 0x100459f2
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
xor ebx, ebx
test eax, eax
jbe 0x100458e7
mov eax, dword [ebp + 4]
test eax, eax
jne 0x100458ac
mov eax, 0x10100444
jmp 0x100458ae
add eax, ebx
movsx eax, byte [eax]
mov ecx, dword [esi + 0x110]
push eax
call fcn.10051f80
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x114]
add ecx, eax
cmp ecx, edx
jg 0x100458e3
mov edx, dword [esp + 0x34]
add edx, eax
mov eax, dword [ebp + 8]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], edx
jb 0x1004589e
mov ecx, dword [esp + 0x10]
cmp ebx, dword [ebp + 8]
mov edi, ebx
jae 0x100459f2
jmp 0x100458f8
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esi + 0x11c]
jge 0x10045931
mov eax, dword [ebp + 4]
test eax, eax
jne 0x1004590e
mov eax, 0x10100444
jmp 0x10045910
add eax, edi
movsx edx, byte [eax]
mov ecx, dword [esi + 0x110]
push edx
call fcn.10051f80
mov edx, dword [esp + 0x10]
add edx, eax
mov eax, dword [ebp + 8]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edx
jb 0x100458f4
cmp edi, ebx
jle 0x100459f2
sub edi, ebx
push edi
push ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.10001b28
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x138]
mov edi, dword [esi + 0x74]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov cl, byte [esi + 0x87]
push eax
mov eax, dword [esi + 0x78]
and eax, edx
shr eax, cl
mov cl, byte [esi + 0x86]
and edi, edx
mov ebx, dword [esi + 0x7c]
shl eax, cl
mov cl, byte [esi + 0x85]
shr edi, cl
mov cl, byte [esi + 0x84]
mov dword [esp + 0x38], 0
shl edi, cl
mov cl, byte [esi + 0x83]
or eax, edi
mov edi, dword [esi + 0x70]
and edi, edx
shr edi, cl
mov cl, byte [esi + 0x82]
shl edi, cl
mov cl, byte [esi + 0x81]
or eax, edi
mov edi, dword [esi + 0x6c]
and edi, edx
shr edi, cl
mov cl, byte [esi + 0x80]
shl edi, cl
mov ecx, dword [esi + 0x110]
or eax, edi
or eax, ebx
push eax
push esi
call fcn.10051fa0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100459f2
lea ecx, [eax - 1]
mov al, byte [ecx]
test al, al
je 0x100459e9
cmp al, 0xff
je 0x100459e9
dec al
mov byte [ecx], al
jmp 0x100459f2
push ecx
call fcn.1008cc5c
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x10049410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100fc7ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x30]
push esi
push 0
lea edx, [esp + 0xc]
push edx
mov esi, ecx
mov eax, dword [esi + 8]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x24], 0x10000
mov dword [esp + 0x28], 0x252
mov dword [esp + 0x2c], ebp
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jge 0x1004947a
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
push ebx
push edi
mov edi, dword [esp + 0x40]
lea eax, [edi + edi*2]
shl eax, 1
push eax
call fcn.10099f75
push 0x1c
mov ebx, eax
call fcn.10099f75
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
mov dword [esp + 0x34], 0
je 0x100494b9
mov ecx, dword [esp + 0x10]
push edi
push ebp
push ebx
push ecx
push esi
mov ecx, eax
call fcn.10053b20
jmp 0x100494bb
xor eax, eax
mov edx, dword [esi + 0x270]
mov ebp, dword [0x1012bbac]
lea ebx, [esi + 0x26c]
mov dword [esp + 0x3c], eax
mov esi, dword [edx + 4]
cmp esi, ebp
mov dword [esp + 0x34], 0xffffffff
mov edi, edx
mov cl, 1
je 0x100494fb
cmp eax, dword [esi + 0xc]
setb cl
test cl, cl
mov edi, esi
je 0x100494f4
mov esi, dword [esi]
jmp 0x100494f7
mov esi, dword [esi + 8]
cmp esi, ebp
jne 0x100494e4
mov al, byte [ebx + 8]
test al, al
je 0x1004950f
lea edx, [esp + 0x3c]
push edx
push edi
push esi
lea eax, [esp + 0x20]
jmp 0x1004954a
test cl, cl
mov dword [esp + 0x40], edi
je 0x10049532
cmp edi, dword [edx]
jne 0x10049529
lea ecx, [esp + 0x3c]
push ecx
push edi
push esi
lea edx, [esp + 0x20]
push edx
jmp 0x1004954b
lea ecx, [esp + 0x40]
call fcn.1004d500
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
cmp dword [ecx + 0xc], eax
jae 0x10049552
lea edx, [esp + 0x3c]
push edx
push edi
push esi
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.1004ba20
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
pop edi
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x10051a80
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 8]
lea eax, [esi - 0xc7]
cmp eax, 0xc
push edi
ja case.0x10051a91.202
jmp dword [eax*4 + 0x10051c10]
pop edi
mov eax, 3
pop esi
ret 4
pop edi
mov eax, 4
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
pop edi
mov eax, 2
pop esi
ret 4
pop edi
mov eax, 5
pop esi
ret 4
pop edi
mov eax, 6
pop esi
ret 4
pop edi
mov eax, 0x1c
pop esi
ret 4
pop edi
mov eax, 0x1d
pop esi
ret 4
pop edi
mov eax, 0x1f
pop esi
ret 4
pop edi
mov eax, 0x1e
pop esi
ret 4
push 1
and esi, 0x7f
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edi, eax
test edi, edi
jne 0x10051b13
pop edi
pop esi
ret 4
mov ecx, dword [0x1012bd44]
push 0x2a
call fcn.10051e20
mov ecx, dword [0x1012bd44]
neg al
sbb al, al
push 0x36
and eax, 0x80
mov byte [0x1012bcd0], al
call fcn.10051e20
mov cl, byte [0x1012bcd0]
neg al
sbb al, al
push 0x1d
and eax, 0x80
mov byte [0x1012bcd1], al
or al, cl
mov ecx, dword [0x1012bd44]
mov byte [0x1012bc40], al
call fcn.10051e20
mov ecx, dword [0x1012bd44]
neg al
sbb al, al
push 0x9d
and eax, 0x80
mov byte [0x1012bcd2], al
call fcn.10051e20
mov cl, byte [0x1012bcd2]
neg al
sbb al, al
push 0x38
and eax, 0x80
mov byte [0x1012bcd3], al
or al, cl
mov ecx, dword [0x1012bd44]
mov byte [0x1012bc41], al
call fcn.10051e20
mov ecx, dword [0x1012bd44]
neg al
sbb al, al
push 0xb8
and eax, 0x80
mov byte [0x1012bcd4], al
call fcn.10051e20
mov cl, byte [0x1012bcd4]
neg al
sbb al, al
push 0
and eax, 0x80
mov byte [0x1012bcd5], al
or al, cl
mov byte [0x1012bc42], al
lea eax, [esp + 0x10]
push eax
push 0x1012bc30
push esi
push edi
call dword [sym.imp.USER32.dll_ToAscii]
cmp eax, 1
je 0x10051c02
pop edi
xor eax, eax
pop esi
ret 4
mov eax, dword [esp + 0xc]
pop edi
and eax, 0xff
pop esi
ret 4
Function at 0x10052700
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100fc92b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
push edi
lea eax, [esp + 0x24]
push eax
push 0x104
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x1005279a
mov cl, byte [esp + 0xf]
push ebp
mov ebp, dword [esp + 0x13c]
mov byte [ebp], cl
push eax
mov ecx, ebp
call fcn.10001fd0
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x1012aca8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
push 1
push ebx
mov ecx, ebp
call fcn.1000229a
test al, al
je 0x10052792
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov esi, 0x1012aca8
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [ebx + eax], 0
mov eax, ebp
pop ebp
jmp 0x100528e5
mov cl, byte [esp + 0xf]
mov byte [esp + 0x10], cl
push 0
lea ecx, [esp + 0x14]
call fcn.10001fd0
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
push 1
push ebx
lea ecx, [esp + 0x18]
call fcn.1000229a
test al, al
je 0x100527ef
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
lea ecx, [esp + 0x14]
call fcn.10004020
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x130], 0
je 0x10052894
lea esi, [ecx - 1]
cmp ecx, esi
jb 0x10052849
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10052849
mov dl, byte [eax - 1]
test dl, dl
je 0x10052835
cmp dl, 0xff
je 0x10052835
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.1000229a
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10052845
mov byte [eax - 1], 0xff
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, esi
jmp 0x1005284e
mov eax, 0x10100444
cmp byte [eax], 0x5c
je 0x10052894
mov eax, dword [0x10100440]
sub eax, ecx
cmp eax, 1
ja 0x10052868
call fcn.1008cc67
mov ecx, dword [esp + 0x18]
lea esi, [ecx + 1]
push 0
push esi
lea ecx, [esp + 0x18]
call fcn.1000229a
test al, al
je 0x10052894
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add edx, ecx
mov byte [edx], 0x5c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov byte [eax + esi], 0
mov cl, byte [esp + 0x10]
mov esi, dword [esp + 0x138]
mov byte [esi], cl
push 0
mov ecx, esi
call fcn.10001fd0
mov edx, dword [0x10100440]
push edx
push 0
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.10001e54
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100528e3
mov al, byte [ecx - 1]
test al, al
je 0x100528d9
cmp al, 0xff
je 0x100528d9
dec al
mov byte [ecx - 1], al
jmp 0x100528e3
dec ecx
push ecx
call fcn.1008cc5c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 4
Function at 0x10052960
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
test eax, eax
jne 0x10052970
mov eax, 0x10100444
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10052981
xor eax, eax
ret 4
test al, 0x10
mov eax, 0
setne al
inc eax
ret 4
Function at 0x1005c570
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100fcd50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.10066d70
mov edi, eax
mov eax, dword [esp + 0x3c]
mov edx, dword [0x10100440]
mov cl, byte [eax]
xor ebx, ebx
push edx
push ebx
mov byte [esp + 0x20], cl
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.10001e54
push edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 1
call fcn.10077c30
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 2
call fcn.1005d200
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 3
call fcn.10067150
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1005c61d
lea ecx, [eax - 1]
mov al, byte [ecx]
cmp al, bl
je 0x1005c614
cmp al, 0xff
je 0x1005c614
dec al
mov byte [ecx], al
jmp 0x1005c61d
push ecx
call fcn.1008cc5c
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], 0xffffffff
call fcn.10067150
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
lea eax, [edx + 0x1c]
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x1005f390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100fce60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x1012bf40]
push ebp
push esi
push eax
push 1
lea ecx, [esp + 0x10]
push 4
push ecx
call fcn.1009cac9
mov edx, dword [0x1012bf40]
mov esi, dword [0x1012bf38]
or ebp, 0xffffffff
push edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
call fcn.1009c946
mov ecx, dword [esi - 4]
add esp, 0x14
sub ecx, eax
mov dword [esp + 0x18], ecx
je 0x1005f5ab
mov edx, dword [esp + 8]
push ebx
lea eax, [edx*4]
push edi
mov dword [esp + 0x14], eax
xor ebx, ebx
lea ecx, [esp + 0x40]
push ecx
call fcn.1005f280
mov edx, dword [0x1012bf40]
push edx
push 1
lea eax, [esp + 0x38]
push 0x10
push eax
mov dword [esp + 0x88], ebx
call fcn.1009cac9
mov ecx, dword [0x1012bf40]
push ecx
push 1
lea edx, [esp + 0x30]
push 4
push edx
call fcn.1009cac9
mov eax, dword [0x1012bf40]
push eax
push 1
lea ecx, [esp + 0x44]
push 4
push ecx
call fcn.1009cac9
mov edx, dword [0x1012bf40]
push edx
push 1
lea eax, [esp + 0x58]
push 4
push eax
call fcn.1009cac9
mov ecx, dword [0x1012bf40]
mov edx, dword [esp + 0x54]
add esp, 0x40
push ecx
push 1
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1009cac9
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.10066d70
fld dword [esp + 0x30]
fstp dword [esp + 0x24]
fld dword [esp + 0x34]
lea ecx, [esp + 0x24]
fstp dword [esp + 0x28]
fld dword [esp + 0x38]
push ecx
fstp dword [esp + 0x30]
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 1
call fcn.10067350
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x14]
call fcn.10067370
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.100673d0
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.100673e0
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
call fcn.10067400
xor esi, esi
lea edi, [esp + 0x50]
mov eax, dword [edi]
cmp eax, ebx
jl 0x1005f527
mov ecx, dword [0x1012bf24]
push ebx
lea edx, [ecx + eax*4]
push edx
push esi
lea ecx, [esp + 0x1c]
call fcn.10067420
inc esi
add edi, 4
cmp esi, 8
jl 0x1005f50c
mov ecx, dword [0x1012bf18]
lea eax, [esp + 0x10]
push eax
push 1
push ecx
mov ecx, 0x1012bf10
call fcn.10058ac0
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], bl
call fcn.10067150
mov ecx, dword [esp + 0x44]
cmp ecx, ebx
mov dword [esp + 0x78], ebp
je 0x1005f57d
mov al, byte [ecx - 1]
cmp al, bl
je 0x1005f573
cmp al, 0xff
je 0x1005f573
dec al
mov byte [ecx - 1], al
jmp 0x1005f57d
dec ecx
push ecx
call fcn.1008cc5c
add esp, 4
mov edx, dword [0x1012bf40]
mov esi, dword [0x1012bf38]
push edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.1009c946
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
jne 0x1005f418
pop edi
pop ebx
mov ecx, dword [esp + 0x68]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x6c
ret
Function at 0x10069150
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100fd33b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov al, 1
push edi
xor edi, edi
mov byte [esi + 0x18], al
mov byte [esi + 0x19], al
mov al, byte [esp + 0x13]
lea ecx, [esi + 0x1c]
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
push edi
mov dword [esp + 0x18], esi
mov byte [ecx], al
call fcn.10001fd0
mov dword [esi + 0x2c], edi
mov ebp, 0x3f800000
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
push edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
push edi
lea ebx, [esi + 0x58]
push ebp
mov ecx, ebx
mov dword [esp + 0x2c], edi
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
call fcn.1000d0e0
push edi
push ebp
push edi
lea ecx, [ebx + 0xc]
call fcn.1000d0e0
push ebp
push edi
push edi
lea ecx, [ebx + 0x18]
call fcn.1000d0e0
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
mov dword [esi + 0x88], ebp
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
push edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
push ebp
push edi
lea ecx, [esi + 0xbc]
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
call fcn.1000d0e0
push ebp
push edi
push edi
lea ecx, [esi + 0xc8]
call fcn.1000d0e0
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi], 0x101006f0
mov dword [esi + 4], edi
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x1006929c
mov ecx, dword [eax + 0x14]
cmp ecx, edi
mov dword [esi + 8], ecx
je 0x10069291
mov dword [ecx + 4], esi
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x14], esi
jmp 0x100692c0
mov dword [eax + 0x10], esi
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x14], esi
jmp 0x100692c0
mov edx, dword [0x1012ffb8]
mov dword [esi + 8], edx
cmp dword [0x1012ffb8], edi
je 0x100692b4
mov eax, edx
mov dword [eax + 4], esi
jmp 0x100692ba
mov dword [0x1012ffbc], esi
mov dword [0x1012ffb8], esi
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1006e8f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100fd608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
mov ebp, ecx
sub eax, edi
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
push 1
push eax
mov ecx, ebp
mov dword [esp + 0x30], ebp
call fcn.10086940
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x1006eaea
mov edx, dword [ebp + 0x28]
sub edx, eax
mov eax, dword [esp + 0x10]
sar edx, 2
cmp eax, edx
jae 0x1006eaea
mov eax, dword [ebp + 0x14]
mov eax, dword [esi + eax + 4]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
push edx
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.10077c40
mov ebx, eax
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + eax + 0xc]
add esi, eax
mov eax, dword [esi + 8]
sub edx, eax
sar edx, 2
cmp edx, 1
mov dword [esp + 0x34], 0
mov edi, eax
jae 0x1006ea59
mov edx, dword [esi + 4]
test edx, edx
je 0x1006e9b6
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x1006e9bb
mov ecx, 1
test edx, edx
jne 0x1006e9c3
xor eax, eax
jmp 0x1006e9c8
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x20], eax
jge 0x1006e9d4
xor eax, eax
shl eax, 2
push eax
call fcn.10099f75
mov ecx, dword [esi + 4]
add esp, 4
push eax
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.1006f680
push ebx
mov ebp, eax
push 1
push ebp
mov ecx, esi
call fcn.1006fdc0
mov edx, dword [esi + 8]
add ebp, 4
push ebp
push edx
push edi
mov ecx, esi
call fcn.1006f680
mov ebx, dword [esi + 8]
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x1006ea28
push 0
mov ecx, edi
call fcn.10070290
add edi, 4
cmp edi, ebx
jne 0x1006ea18
mov eax, dword [esi + 4]
push eax
call fcn.1008cc5c
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
lea ecx, [edi + eax*4]
mov dword [esi + 0xc], ecx
add esp, 4
mov ecx, esi
call fcn.1003a3f0
mov ebp, dword [esp + 0x24]
lea edx, [edi + eax*4 + 4]
mov dword [esi + 8], edx
mov dword [esi + 4], edi
jmp 0x1006eabe
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x1006ea94
lea edx, [edi + 4]
push edx
push eax
push edi
mov ecx, esi
call fcn.1006f680
mov eax, dword [esi + 8]
mov ecx, eax
sub ecx, edi
sar ecx, 2
push ebx
mov edx, 1
sub edx, ecx
push edx
push eax
mov ecx, esi
call fcn.1006fdc0
mov eax, dword [esi + 8]
push ebx
push eax
jmp 0x1006eab4
push eax
push eax
add eax, 0xfffffffc
push eax
mov ecx, esi
call fcn.1006f680
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.1006fe20
push ebx
lea ecx, [edi + 4]
push ecx
push edi
call fcn.1006fdf0
add dword [esi + 8], 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], 0xffffffff
call fcn.10077ed0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ecx
add eax, 0x64
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov esi, eax
jmp 0x1006e93c
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x1007d360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100fdd69
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov edi, dword [esi + 0x20]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x1c], 2
mov dword [esp + 0x10], edi
je 0x1007d3d6
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
mov byte [esp + 0x1c], 3
je 0x1007d3a9
push 1
call fcn.1007d430
mov ecx, dword [edi + 0x1c]
cmp ecx, ebx
je 0x1007d3b7
push 1
call fcn.1007d430
mov eax, dword [edi + 0x24]
push eax
mov dword [esp + 0x14], eax
call fcn.1008cc5c
push edi
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.1008cc5c
add esp, 8
mov eax, dword [esi + 0x28]
push eax
mov dword [esp + 0x14], eax
call fcn.1008cc5c
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x14]
push eax
mov dword [esp + 0x18], eax
call fcn.1008cc5c
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x1c], eax
call fcn.1008cc5c
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret