joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c6d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009d554
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x28], 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.1000d6e0
mov byte [esp + 0x28], 1
lea ecx, [esp + 0xc]
call fcn.1002c5a0
mov byte [esp + 0x28], 0
lea edx, [esp + 0x10]
mov dword [esp + 8], edx
mov byte [esp + 0x28], 0
mov ecx, edx
call fcn.100020e0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.100020e0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret

Function at 0x1000d420
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1009bad9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100c6270]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x4c], ebx
lea eax, [esp + 0x14]
push eax
mov edi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
call fcn.1005cc20
mov ebp, 1
mov dword [esp + 0x4c], ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.1005cb60
mov byte [esp + 0x4c], 2
push 0xb
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push str.Exception_
mov ecx, esi
mov word [esi + 4], dx
call fcn.100470d0
mov edx, dword [esp + 0x14]
mov eax, edx
mov dword [esp + 0x18], ebp
lea ebp, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000d4b0
sub eax, ebp
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.1002e420
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jle 0x1000d508
push 8
push str.__File:
mov ecx, esi
call fcn.1002e420
mov edx, dword [esp + 0x10]
mov eax, edx
lea ebp, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000d4f0
sub eax, ebp
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.1002e420
cmp dword [edi + 8], ebx
jbe 0x1000d553
push 8
push str.__Line:
mov ecx, esi
call fcn.1002e420
mov ecx, dword [edi + 8]
push ecx
push 0x100aabac
lea edx, [esp + 0x28]
call fcn.1000d400
lea eax, [esp + 0x28]
add esp, 8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000d537
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.1002e420
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], ebx
jle 0x1000d589
push 2
push 0x100aaae4
mov ecx, esi
call fcn.1002e420
mov edi, dword [edi + 0xc]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000d571
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.1002e420
push 1
push 0x100aabb4
mov ecx, esi
call fcn.1002e420
mov byte [esp + 0x4c], 1
lea ecx, [esp + 0x10]
call fcn.10002320
mov byte [esp + 0x4c], bl
lea ecx, [esp + 0x14]
call fcn.10002320
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10071821
add esp, 0x40
ret
Function at 0x1000e7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009fa41
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0xc], 0
call fcn.1000e770
mov dword [esp + 0x30], 1
mov esi, dword [esp + 0x38]
push 1
push esi
mov ecx, eax
call fcn.1004fad0
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
lea ecx, [esp + 0xc]
call fcn.100115e0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4
Function at 0x1000eef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009d478
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x50], 0
add eax, 0x18
lea ecx, [esi + 0x1c]
push eax
call fcn.100119a0
or ebx, 0xffffffff
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x28]
call fcn.100115e0
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x50], 1
lea ecx, [esi + 0x20]
push eax
call fcn.100119a0
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x14]
call fcn.10002320
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x50], 2
lea ecx, [esi + 0x24]
push eax
call fcn.100119a0
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x14]
call fcn.10002320
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call edx
mov ecx, dword [eax]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x30], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x34], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x38], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call edx
mov ecx, dword [eax]
mov dword [esi + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x44], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x50], 3
lea ecx, [esi + 0x48]
push eax
call fcn.100119a0
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x14]
call fcn.10002320
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x50], 4
lea ecx, [esi + 0x4c]
push eax
call fcn.100119a0
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x14]
call fcn.10002320
lea ebx, [esi + 0x50]
mov ecx, ebx
call fcn.100116b0
lea ecx, [esi + 0x68]
call fcn.100116b0
xor ecx, ecx
mov eax, 0x100a3860
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ebx
mov edx, dword [ebx]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x68]
mov dword [esp + 0x30], edx
mov edx, dword [edi]
mov edx, dword [edx + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call edx
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009efad
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 4]
mov dword [esi], vtable.CDevDriverSnapshot.0
call fcn.10011580
xor edi, edi
mov dword [esp + 0x14], edi
lea ecx, [esi + 0x20]
call fcn.100129f0
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x24]
call fcn.100129f0
mov byte [esp + 0x14], 2
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
lea ecx, [esi + 0x48]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.100129f0
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x4c]
call fcn.100129f0
mov byte [esp + 0x14], 4
mov eax, 0xa
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], eax
mov byte [esp + 0x14], 5
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x100117e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1009f90f
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 8]
call fcn.100129f0
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea ecx, [esi + 0xc]
call fcn.100129f0
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x10]
call fcn.100129f0
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call fcn.100129f0
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x38]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.100129f0
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x3c]
call fcn.100129f0
mov byte [esp + 0x14], 5
lea ecx, [esi + 0x48]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
call fcn.100129f0
mov byte [esp + 0x14], 6
lea ecx, [esi + 0x4c]
call fcn.10011580
mov byte [esp + 0x14], 7
lea ecx, [esi + 0x68]
call fcn.10011580
mov byte [esp + 0x14], 8
lea ecx, [esi + 0x84]
call fcn.10011580
mov byte [esp + 0x14], 9
lea ecx, [esi + 0xa0]
call fcn.10011580
mov byte [esp + 0x14], 0xa
lea ecx, [esi + 0xbc]
call fcn.100129f0
mov byte [esp + 0x14], 0xb
lea ecx, [esi + 0xc0]
call fcn.100129f0
mov byte [esp + 0x14], 0xc
lea ecx, [esi + 0xc4]
call fcn.100129f0
mov byte [esp + 0x14], 0xd
lea ecx, [esi + 0xc8]
call fcn.100129f0
mov byte [esp + 0x14], 0xe
lea ecx, [esi + 0xdc]
call fcn.100129f0
mov byte [esp + 0x14], 0xf
lea ecx, [esi + 0xe0]
call fcn.100129f0
mov byte [esp + 0x14], 0x10
lea ecx, [esi + 0xe4]
call fcn.100129f0
mov byte [esp + 0x14], 0x11
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xfc], 0xa
mov byte [esp + 0x14], 0x12
or eax, 0xffffffff
mov ecx, 0x800
mov byte [esi + 4], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi], bl
mov byte [esi + 1], bl
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov word [esi + 0xd8], cx
mov dword [esp + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x10012260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009dfe8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [esi + 4], ebx
setne al
cmp al, bl
jne 0x100122ac
push ebx
push 0x2b7
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVProp.h
push 0xe0e00062
call fcn.10002400
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0xc]
push eax
call edi
mov dword [esp + 0x38], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jge 0x100122e2
push ebx
push 0x2b9
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreincNVProp.h
push eax
call fcn.10002400
cmp word [esp + 0xc], bx
je 0x1001230a
lea ecx, [esp + 0x1c]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.1004db60
add esp, 8
cmp word [esp + 0x24], bx
setne bl
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10014e90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009defa
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
cmp eax, ecx
jl 0x10014ee9
test byte [esi + 0x68], 4
je 0x10014fce
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10023ed0
mov dword [esp + 0x38], 0
push eax
call fcn.10023e60
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x10014fce
mov dword [esp + 0x10], edi
cmp edi, eax
jb 0x10014f15
call fcn.10071c0a
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax]
cmp edx, dword [esi + 0x40]
jne 0x10014fa9
cmp byte [esi + 0xb8], 0
je 0x10014f3d
lea ecx, [esi + 0xbc]
mov dword [esp + 0x14], ecx
jmp 0x10014f45
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10014f64
call fcn.10071c0a
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x10014f86
call fcn.10071c0a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea edx, [eax + ebx + 4]
push edx
mov edx, dword [esi + 0xc]
add edx, eax
mov eax, dword [ebp + 8]
push edx
lea ecx, [esi + 0x6c]
push eax
call fcn.10014990
add esp, 0x10
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x10], 0x64
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x10014f15
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10015700
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009defa
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
cmp eax, ecx
jl 0x10015759
test byte [esi + 0x68], 4
je 0x1001583e
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10023ed0
mov dword [esp + 0x38], 0
push eax
call fcn.10023e60
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x1001583e
mov dword [esp + 0x10], edi
cmp edi, eax
jb 0x10015785
call fcn.10071c0a
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax]
cmp edx, dword [esi + 0x40]
jne 0x10015819
cmp byte [esi + 0xb8], 0
je 0x100157ad
lea ecx, [esi + 0xbc]
mov dword [esp + 0x14], ecx
jmp 0x100157b5
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100157d4
call fcn.10071c0a
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x100157f6
call fcn.10071c0a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea edx, [eax + ebx + 4]
push edx
mov edx, dword [esi + 0xc]
add edx, eax
mov eax, dword [ebp + 8]
push edx
lea ecx, [esi + 0x6c]
push eax
call fcn.10015200
add esp, 0x10
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x10], 0x64
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x10015785
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10015f70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009defa
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
cmp eax, ecx
jl 0x10015fc9
test byte [esi + 0x68], 4
je 0x100160ae
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10023ed0
mov dword [esp + 0x38], 0
push eax
call fcn.10023e60
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x100160ae
mov dword [esp + 0x10], edi
cmp edi, eax
jb 0x10015ff5
call fcn.10071c0a
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax]
cmp edx, dword [esi + 0x40]
jne 0x10016089
cmp byte [esi + 0xb8], 0
je 0x1001601d
lea ecx, [esi + 0xbc]
mov dword [esp + 0x14], ecx
jmp 0x10016025
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10016044
call fcn.10071c0a
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x10016066
call fcn.10071c0a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea edx, [eax + ebx + 4]
push edx
mov edx, dword [esi + 0xc]
add edx, eax
mov eax, dword [ebp + 8]
push edx
lea ecx, [esi + 0x6c]
push eax
call fcn.10015a70
add esp, 0x10
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x10], 0x64
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x10015ff5
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10016690
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009defa
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
cmp eax, ecx
jl 0x100166e9
test byte [esi + 0x68], 4
je 0x100167ce
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10023ed0
mov dword [esp + 0x38], 0
push eax
call fcn.10023e60
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x100167ce
mov dword [esp + 0x10], edi
cmp edi, eax
jb 0x10016715
call fcn.10071c0a
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax]
cmp edx, dword [esi + 0x40]
jne 0x100167a9
cmp byte [esi + 0xb8], 0
je 0x1001673d
lea ecx, [esi + 0xbc]
mov dword [esp + 0x14], ecx
jmp 0x10016745
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10016764
call fcn.10071c0a
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x10016786
call fcn.10071c0a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea edx, [eax + ebx + 4]
push edx
mov edx, dword [esi + 0xc]
add edx, eax
mov eax, dword [ebp + 8]
push edx
lea ecx, [esi + 0x6c]
push eax
call fcn.10016190
add esp, 0x10
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x10], 0x64
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x10016715
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10016f10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009defa
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
cmp eax, ecx
jl 0x10016f69
test byte [esi + 0x68], 4
je 0x1001704e
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10023ed0
mov dword [esp + 0x38], 0
push eax
call fcn.10023e60
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x1001704e
mov dword [esp + 0x10], edi
cmp edi, eax
jb 0x10016f95
call fcn.10071c0a
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax]
cmp edx, dword [esi + 0x40]
jne 0x10017029
cmp byte [esi + 0xb8], 0
je 0x10016fbd
lea ecx, [esi + 0xbc]
mov dword [esp + 0x14], ecx
jmp 0x10016fc5
mov dword [esp + 0x14], 0
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x10016fe4
call fcn.10071c0a
mov ebx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub ecx, ebx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x10017006
call fcn.10071c0a
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea edx, [eax + ebx + 4]
push edx
mov edx, dword [esi + 0xc]
add edx, eax
mov eax, dword [ebp + 8]
push edx
lea ecx, [esi + 0x6c]
push eax
call fcn.10016a10
add esp, 0x10
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
add dword [esp + 0x10], 0x64
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x10016f95
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001ad20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1009b9b1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x10], ebx
xor eax, eax
mov word [esp + 0x18], ax
mov eax, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
lea edi, [eax + 2]
jmp 0x1001ad70
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001ad70
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.100470d0
mov edi, 1
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ebx
push ecx
lea ecx, [esp + 0x20]
call fcn.100326e0
push 0xffffffffffffffff
push ebx
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.10048b90
mov dword [esp + 0x10], edi
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 8
jb 0x1001addb
mov eax, dword [esp + 0x18]
push eax
call fcn.1004ad4f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x1001afc0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x1009bb88
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push edi
mov eax, dword [0x100c6270]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x38]
lea eax, [esp + 8]
push eax
mov edi, 0x100aa258
call fcn.1002e540
add esp, 4
xor edi, edi
mov dword [esp + 0x2c], edi
cmp dword [eax + 0x18], 8
jb 0x1001b00b
mov eax, dword [eax + 4]
jmp 0x1001b00e
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [esp + 0x2c], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x1001b031
mov ecx, dword [esp + 0xc]
push ecx
call fcn.1004ad4f
add esp, 4
xor edx, edx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], edi
mov word [esp + 0xc], dx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x28
ret 8

Function at 0x1001b190
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
mov edx, dword [ecx]
push ebx
lea eax, [esp + 8]
push eax
xor ebx, ebx
push edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1001b1c4
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov al, 1
mov dword [esi], ecx
mov dword [esi + 4], edx
pop ebx
add esp, 0x10
ret
mov al, bl
pop ebx
add esp, 0x10
ret