joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10063700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10163ac1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x10], esi
mov byte [esi + 4], bl
mov dword [esp + 0x38], ebx
fld qword [esp + 0x64]
push 1
sub esp, 8
fstp qword [esp]
push edx
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x3c], 1
call fcn.1004b2a0
add esp, 0x30
mov dword [esp + 0x38], 1
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.10009790
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 0x10
jb 0x100637bc
mov eax, dword [esp + 0x18]
push eax
call fcn.100ee438
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x10063990
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10163ac1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x10], esi
mov byte [esi + 4], bl
mov dword [esp + 0x38], ebx
fld qword [esp + 0x60]
push 1
sub esp, 8
fstp qword [esp]
push edx
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push ecx
push edx
push eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x38], 1
call fcn.1004bca0
add esp, 0x2c
mov dword [esp + 0x38], 1
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.10009790
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 0x10
jb 0x10063a47
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100ee438
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x10063a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10163af9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov al, 0x32
mov byte [esp + 0x16], al
mov byte [esp + 0x18], al
lea eax, [esp + 0x14]
mov byte [esp + 0x14], 0x37
mov byte [esp + 0x15], 0x2e
mov byte [esp + 0x17], 0x34
mov byte [esp + 0x19], 0x31
mov byte [esp + 0x1a], bl
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x10], esi
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10063ae4
sub eax, edx
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.100099a0
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.100ffa66
add esp, 0x20
ret

Function at 0x10066470
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10163d32
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
push esi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x818]
mov dword fs:[0], eax
mov esi, dword [esp + 0x828]
xor ebx, ebx
push 0x7ff
lea eax, [esp + 0x19]
push ebx
mov dword [esp + 0x14], ebx
push eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0x20], bl
call fcn.101004d0
mov eax, dword [esp + 0x83c]
add esp, 0xc
cmp eax, ebx
jne 0x100664f1
lea ecx, [esp + 0x14]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
jmp 0x10066581
cmp eax, 1
jne 0x10066508
push 0x800
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
jmp 0x10066581
cmp eax, 2
jne 0x1006651f
push 0x800
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
jmp 0x10066581
cmp eax, 3
jne 0x10066536
lea ecx, [esp + 0x14]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
jmp 0x10066581
cmp eax, 4
jne 0x10066581
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + 0x101b8f10]
mov byte [esp + eax + 0x14], cl
add eax, 1
cmp cl, bl
jne 0x10066540
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10066558
sub eax, edx
add eax, 0xffffffff
cmp eax, ebx
jl 0x10066581
mov cl, 0x5c
lea esp, [esp]
cmp byte [esp + eax + 0x14], cl
je 0x1006657d
sub eax, 1
jns 0x10066570
jmp 0x10066581
mov byte [esp + eax + 0x14], bl
lea eax, [esp + 0x14]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10066595
sub eax, edx
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.100099a0
mov dword [esp + 0x820], ebx
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x818]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.100ffa66
add esp, 0x818
ret
Function at 0x100668e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10163e32
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
push edi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov edi, dword [esp + 0x140]
mov esi, dword [esp + 0x144]
xor ebx, ebx
push 0xff
lea eax, [esp + 0x31]
push ebx
mov dword [esp + 0x1c], ebx
push eax
mov dword [esp + 0x24], edi
mov byte [esp + 0x38], bl
call fcn.101004d0
push 0x16cc25d5
push esi
call fcn.10050ac0
add esp, 0x14
test eax, eax
je 0x10066a1d
cmp dword [esi + 0x32c8], ebx
mov dword [esp + 0x10], ebx
jne 0x100669c2
cmp dword [esi + 0x32b4], ebx
je 0x10066998
mov eax, dword [esi + 0x32b8]
mov esi, dword [esi + 0x18]
lea ecx, [esp + 0x10]
push ecx
push eax
push 1
push ebx
push 0x1234
push 0x843
push esi
call fcn.10054140
mov eax, dword [esp + 0x10]
jmp 0x100669de
mov esi, dword [esi + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0x9c4
push 1
push ebx
push 0x1234
push 0x843
push esi
mov dword [esp + 0x38], ebx
call fcn.10054140
mov eax, dword [esp + 0x1c]
jmp 0x100669da
mov eax, dword [esi + 0x18]
push ebx
push 0x1234
push 0x843
push eax
push esi
call fcn.100b2f30
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x10066a7b
mov cl, 0x64
mov byte [esp + 0x1d], cl
mov byte [esp + 0x20], cl
mov dl, 0x25
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1f], dl
movsx edx, cx
push edx
movsx eax, ax
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x38]
mov byte [esp + 0x2a], 0x2c
mov byte [esp + 0x2d], bl
push edx
jmp 0x10066a73
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.10043850
add esp, 0xc
cmp eax, ebx
je 0x10066a3b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x1c]
cmp eax, 0xffff
je 0x10066a7b
mov dl, 0x25
mov byte [esp + 0x24], dl
mov byte [esp + 0x27], dl
mov edx, dword [esp + 0x10]
push edx
mov cl, 0x64
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x2d], cl
mov byte [esp + 0x30], cl
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x32], 0x2c
mov byte [esp + 0x35], bl
push ecx
call fcn.101012b0
add esp, 0x10
lea eax, [esp + 0x2c]
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10066a90
sub eax, edx
push eax
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.100099a0
mov dword [esp + 0x138], ebx
mov dword [esp + 0x14], 1
mov eax, edi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.100ffa66
add esp, 0x12c
ret
Function at 0x10066ae0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x10163e79
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x14], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x18], esi
mov byte [esi + 4], bl
mov dword [esp + 0x24], ebx
push ebx
mov dword [esp + 0x18], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10066b81
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, ebx
je 0x10066b7b
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
cmp eax, ebx
je 0x10066b7b
mov ecx, eax
lea ebp, [ecx + 1]
jmp 0x10066b60
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x10066b60
sub ecx, ebp
push ecx
push eax
mov ecx, esi
call fcn.100099a0
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10066ba0
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10163ec2
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov esi, dword [esp + 0x258]
xor ebx, ebx
push 0x1ff
lea eax, [esp + 0x49]
push ebx
mov dword [esp + 0x14], ebx
push eax
mov dword [esp + 0x2c], esi
mov byte [esp + 0x50], bl
call fcn.101004d0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov dl, 0x25
mov al, 0x64
mov cl, 0x30
mov byte [esp + 0x24], dl
mov byte [esp + 0x29], dl
mov byte [esp + 0x2e], dl
mov byte [esp + 0x33], dl
mov byte [esp + 0x38], dl
mov byte [esp + 0x3d], dl
movzx edx, word [esp + 0x1c]
push edx
movzx edx, word [esp + 0x1a]
mov byte [esp + 0x2b], al
mov byte [esp + 0x30], al
mov byte [esp + 0x35], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x3f], al
mov byte [esp + 0x44], al
movzx eax, word [esp + 0x1e]
push eax
movzx eax, word [esp + 0x1a]
mov byte [esp + 0x2d], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x37], cl
mov byte [esp + 0x3c], cl
mov byte [esp + 0x41], cl
mov byte [esp + 0x46], cl
movzx ecx, word [esp + 0x20]
push ecx
movzx ecx, word [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x46], 0x34
mov byte [esp + 0x48], 0x2d
mov byte [esp + 0x4b], 0x32
mov byte [esp + 0x4d], 0x2d
mov byte [esp + 0x50], 0x32
mov byte [esp + 0x52], 0x20
mov byte [esp + 0x55], 0x32
mov byte [esp + 0x57], 0x3a
mov byte [esp + 0x5a], 0x32
mov byte [esp + 0x5c], 0x3a
mov byte [esp + 0x5f], 0x32
mov byte [esp + 0x61], bl
call fcn.101012b0
lea eax, [esp + 0x64]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
add esp, 0x20
mov byte [esi + 4], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10066ce0
sub eax, edx
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.100099a0
mov dword [esp + 0x250], ebx
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.100ffa66
add esp, 0x248
ret
Function at 0x10068750
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10164352
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x22c], esi
mov ebp, dword [esp + 0x234]
mov edi, dword [esp + 0x238]
mov ebx, dword [esp + 0x23c]
mov dword [esp + 0x18], esi
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], esi
mov dword [esp + 0x1c], ebp
mov byte [ebp + 4], 0
mov dword [esp + 0x22c], esi
push 0x1ff
lea eax, [esp + 0x25]
push esi
push eax
mov dword [esp + 0x24], 1
mov byte [esp + 0x2c], 0
call fcn.101004d0
push ebx
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.100443f0
push 0x40
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x38], 0x72
mov byte [esp + 0x39], 0x62
mov byte [esp + 0x3a], 0
call fcn.101011d9
mov edi, eax
add esp, 0x24
cmp edi, esi
je 0x10068886
push 2
push esi
push edi
call fcn.10101154
push edi
call fcn.1010105f
push esi
push esi
push edi
mov ebx, eax
call fcn.10101154
lea ecx, [ebx + 1]
push ecx
call fcn.100ff4c8
mov esi, eax
add esp, 0x20
test esi, esi
je 0x1006887d
push edi
push ebx
push 1
push esi
call fcn.10100eac
mov eax, esi
add esp, 0x10
mov byte [esi + ebx], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10068860
sub eax, edx
push eax
push esi
mov ecx, ebp
call fcn.100099a0
push esi
call fcn.100ff58b
add esp, 4
push edi
call fcn.10100b94
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.100ffa66
add esp, 0x21c
ret
Function at 0x100688b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x101643a2
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x248], ebx
mov ebp, dword [esp + 0x250]
mov esi, dword [esp + 0x254]
mov edi, dword [esp + 0x258]
mov dword [esp + 0x24], ebx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
mov dword [esp + 0x20], ebp
mov byte [ebp + 4], bl
mov dword [esp + 0x248], ebx
push 0x1ff
lea eax, [esp + 0x41]
push ebx
push eax
mov dword [esp + 0x30], 1
mov byte [esp + 0x48], bl
call fcn.101004d0
push edi
lea ecx, [esp + 0x4c]
push ecx
push esi
call fcn.100443f0
push 0x40
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x38], 0x72
mov byte [esp + 0x39], 0x62
mov byte [esp + 0x3a], bl
call fcn.101011d9
mov edi, eax
mov dl, 0x30
mov cl, 0x32
mov al, 0x58
add esp, 0x24
cmp edi, ebx
mov dword [esp + 0x28], edi
mov byte [esp + 0x34], 0x25
mov byte [esp + 0x35], dl
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], al
mov byte [esp + 0x38], 0x20
mov byte [esp + 0x39], bl
mov byte [esp + 0x2c], 0x25
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], bl
je 0x10068aa5
push 2
push ebx
push edi
call fcn.10101154
push edi
call fcn.1010105f
push ebx
push ebx
push edi
mov esi, eax
call fcn.10101154
lea ecx, [esi + 1]
push ecx
call fcn.100ff4c8
add esp, 0x20
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x10068a9c
push edi
push esi
push 1
push eax
call fcn.10100eac
mov edx, dword [esp + 0x28]
lea eax, [esi + esi*2 + 3]
push eax
mov byte [edx + esi], bl
call fcn.100ff4c8
mov ecx, eax
add esp, 0x14
cmp ecx, ebx
mov dword [esp + 0x1c], ecx
je 0x10068a8f
xor edi, edi
cmp esi, ebx
mov ebp, ecx
mov byte [ecx], bl
jle 0x10068a5f
lea esp, [esp]
mov ecx, dword [esp + 0x18]
movzx edx, byte [edi + ecx]
lea eax, [esi - 1]
cmp edi, eax
push edx
je 0x10068a43
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.101012b0
add esp, 0xc
add ebp, 3
jmp 0x10068a54
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.101012b0
add esp, 0xc
add ebp, 2
add edi, 1
cmp edi, esi
jl 0x10068a20
mov ecx, dword [esp + 0x1c]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x10068a64
sub eax, esi
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.100099a0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.100ff58b
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
add esp, 4
mov edx, dword [esp + 0x18]
push edx
call fcn.100ff58b
add esp, 4
push edi
call fcn.10100b94
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.100ffa66
add esp, 0x238
ret
Function at 0x100693b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10164549
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov esi, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x10], esi
mov byte [esi + 4], bl
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x1c], 1
mov byte [esp + 0x24], 0x25
mov byte [esp + 0x25], 0x49
mov byte [esp + 0x26], 0x36
mov byte [esp + 0x27], 0x34
mov byte [esp + 0x28], 0x58
mov byte [esp + 0x29], bl
call fcn.101012b0
lea eax, [esp + 0x2c]
add esp, 0x10
lea edx, [eax + 1]
jmp 0x10069450
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10069450
sub eax, edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.100099a0
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100ffa66
add esp, 0x40
ret
Function at 0x1007c140
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10164b42
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov eax, dword [esp + 0x16c]
mov edi, dword [esp + 0x168]
mov esi, dword [esp + 0x164]
xor ebx, ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x2c], ebx
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], ebx
call fcn.1006fdd0
add esp, 0x1c
test eax, eax
jne 0x1007c1db
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x1016aa44
mov ecx, esi
mov byte [esi + 4], bl
call fcn.100099a0
jmp 0x1007c258
mov edx, dword [esp + 0x28]
mov al, 0x64
push edx
mov cl, 0x25
mov byte [esp + 0x4d], al
mov byte [esp + 0x50], al
mov eax, dword [esp + 0x28]
mov byte [esp + 0x4c], cl
mov byte [esp + 0x4f], cl
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x5a], 0x2c
mov byte [esp + 0x5d], bl
call fcn.101012b0
add esp, 0x10
cmp dword [edi + 0x32f8], ebx
jne 0x1007c229
mov eax, dword [esp + 0x10]
push eax
call fcn.100ff58b
add esp, 4
lea eax, [esp + 0x50]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1007c240
sub eax, edx
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.100099a0
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.100ffa66
add esp, 0x150
ret
Function at 0x10081de0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10164ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
cmp eax, 2
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
jne 0x10081e5d
mov esi, dword [ebp + 0x3304]
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x10081e36
call fcn.10101795
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x10081e43
call fcn.10101795
push edi
push esi
push ebx
push esi
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.10061970
mov eax, 1
jmp 0x10081f6b
cmp eax, 1
jne 0x10081e81
add ebp, 0x3300
push ebp
push 0x1016b900
push esi
call fcn.10101d65
add esp, 0xc
mov eax, 1
jmp 0x10081f6b
xor ebx, ebx
cmp eax, ebx
jne 0x10081f69
mov cl, 0x25
mov al, 0x64
mov dl, 0x2c
mov byte [esp + 0x38], cl
mov byte [esp + 0x3b], cl
mov byte [esp + 0x3e], cl
mov byte [esp + 0x41], cl
lea ecx, [esp + 0x24]
mov byte [esp + 0x39], al
mov byte [esp + 0x3a], dl
mov byte [esp + 0x3c], al
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3f], al
mov byte [esp + 0x40], dl
mov byte [esp + 0x42], al
mov byte [esp + 0x43], bl
call fcn.100f17a1
mov dword [esp + 0x50], ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
push 0x1016b5b4
push esi
call fcn.1004a8a0
mov edi, eax
add esp, 0x10
xor esi, esi
cmp edi, ebx
jle 0x10081f4c
lea ebx, [ebx]
xor eax, eax
cmp esi, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
jl 0x10081f64
cmp esi, dword [esp + 0x2c]
jge 0x10081f64
mov edx, dword [esp + 0x28]
mov eax, dword [edx + esi*4]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x48]
push ecx
push eax
call fcn.10101d65
mov ecx, dword [ebp + 0x3304]
add esp, 0x18
lea edx, [esp + 0x14]
push edx
call fcn.1006f6f0
add esi, 1
cmp esi, edi
jl 0x10081ef0
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.100f1ae9
mov eax, 1
jmp 0x10081f6b
jmp fcn.100ee536
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100ffa66
add esp, 0x40
ret
Function at 0x10081f90
Capabilities:
Create thread

Disassembly:
sub esp, 0x210
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [esp + 0x21c]
push edi
mov edi, dword [esp + 0x21c]
push 0x1ff
lea eax, [esp + 0x19]
push 0
push eax
mov dword [esp + 0x1c], edi
mov byte [esp + 0x20], 0
call fcn.101004d0
push esi
lea ecx, [esp + 0x24]
push ecx
push edi
call fcn.100443f0
lea eax, [esp + 0x2c]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10081fe4
sub eax, edx
add eax, 1
push eax
call fcn.100ff4c8
mov esi, eax
add esp, 4
test esi, esi
je 0x1008205b
lea eax, [esp + 0x14]
mov edx, esi
mov ecx, eax
sub edx, ecx
jmp 0x10082010
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10082010
push ebp
mov dword [esp + 0xc], 0
call fcn.1002d8d0
lea edx, [esp + 0xc]
push edx
push 0
push esi
push 0x10053640
push 0
push 0
mov ebp, eax
call fcn.10101c4f
push ebp
mov edi, eax
call fcn.1002d970
add esp, 0x1c
test edi, edi
pop ebp
jne 0x10082074
push esi
call fcn.100ff58b
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.100ffa66
add esp, 0x210
ret
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [edx + 0x3288]
mov dword [esp + 0x10], eax
call fcn.10020840
mov ecx, dword [esp + 0x214]
mov eax, dword [esp + 8]
pop edi
pop esi
xor ecx, esp
call fcn.100ffa66
add esp, 0x210
ret