joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10062f80
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x10164118
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x101b734c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x30]
mov eax, dword [edx - 0xc]
cmp eax, 2
jl 0x100630e1
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x1006318b
cmp ecx, eax
jg 0x1006318b
mov dl, byte [ecx + edx]
cmp dl, 0x5c
jne 0x10063008
push ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.10047b40
mov byte [esp + 0x28], 1
push eax
lea ecx, [esp + 0x34]
call fcn.10047bf0
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x10]
call fcn.1001ea10
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jle 0x100630e1
cmp eax, 3
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
jg 0x10063067
lea edx, [esp + 0x34]
push edx
call fcn.100479d0
mov byte [esp + 0x2c], 2
mov byte [esp + 0x2c], bl
call fcn.1005b2c0
add esp, 4
cmp eax, ebx
je 0x100630e1
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.1001ea10
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
lea eax, [esp + 0x34]
push eax
call fcn.100479d0
mov byte [esp + 0x2c], 3
mov byte [esp + 0x2c], bl
call fcn.1005b2c0
add esp, 4
cmp eax, ebx
jne 0x1006303f
lea ecx, [esp + 0xc]
call fcn.1001e9a0
mov byte [esp + 0x28], 4
push 0x5c
lea ecx, [esp + 0x34]
call fcn.1005a120
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.10047b40
mov byte [esp + 0x28], 5
push eax
lea ecx, [esp + 0x10]
call fcn.10047bf0
mov byte [esp + 0x28], 4
lea ecx, [esp + 0x10]
call fcn.1001ea10
mov edx, dword [esp + 0xc]
cmp dword [edx - 0xc], ebx
jg 0x10063106
mov byte [esp + 0x28], bl
lea ecx, [esp + 0xc]
call fcn.1001ea10
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.1001ea10
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.100479d0
mov byte [esp + 0x2c], 6
mov byte [esp + 0x2c], 4
call fcn.10062f80
add esp, 4
cmp eax, ebx
je 0x100630d4
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
mov esi, eax
sub esi, 1
neg esi
sbb esi, esi
add esi, 1
mov byte [esp + 0x28], bl
lea ecx, [esp + 0xc]
call fcn.1001ea10
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.1001ea10
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
push 0x80070057
call fcn.10001140
Function at 0x10064250
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10164431
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x101b734c]
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.1004bd50
add esp, 0x30
mov dword [esp + 0x38], 1
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.10009b80
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 0x10
jb 0x1006430c
mov eax, dword [esp + 0x18]
push eax
call fcn.100eedad
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 0x100644e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10164431
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x101b734c]
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.1004c750
add esp, 0x2c
mov dword [esp + 0x38], 1
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.10009b80
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 0x10
jb 0x10064597
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100eedad
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 0x100645c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10164469
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
mov eax, dword [0x101b734c]
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, 0x34
mov cl, 0x32
mov byte [esp + 0x17], al
mov byte [esp + 0x19], al
lea eax, [esp + 0x14]
mov byte [esp + 0x14], 0x37
mov byte [esp + 0x15], 0x2e
mov byte [esp + 0x16], cl
mov byte [esp + 0x18], cl
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 0x10064634
sub eax, edx
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.10009d90
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.101003d3
add esp, 0x20
ret

Function at 0x10066fc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x101646a2
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
push esi
mov eax, dword [0x101b734c]
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.10100e30
mov eax, dword [esp + 0x83c]
add esp, 0xc
cmp eax, ebx
jne 0x10067041
lea ecx, [esp + 0x14]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
jmp 0x100670d1
cmp eax, 1
jne 0x10067058
push 0x800
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
jmp 0x100670d1
cmp eax, 2
jne 0x1006706f
push 0x800
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
jmp 0x100670d1
cmp eax, 3
jne 0x10067086
lea ecx, [esp + 0x14]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
jmp 0x100670d1
cmp eax, 4
jne 0x100670d1
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + 0x101b8f30]
mov byte [esp + eax + 0x14], cl
add eax, 1
cmp cl, bl
jne 0x10067090
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100670a8
sub eax, edx
add eax, 0xffffffff
cmp eax, ebx
jl 0x100670d1
mov cl, 0x5c
lea esp, [esp]
cmp byte [esp + eax + 0x14], cl
je 0x100670cd
sub eax, 1
jns 0x100670c0
jmp 0x100670d1
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 0x100670e5
sub eax, edx
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.10009d90
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.101003d3
add esp, 0x818
ret
Function at 0x10067430
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101647a2
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
push edi
mov eax, dword [0x101b734c]
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.10100e30
push 0x16cc25d5
push esi
call fcn.10051570
add esp, 0x14
test eax, eax
je 0x1006756d
cmp dword [esi + 0x32cc], ebx
mov dword [esp + 0x10], ebx
jne 0x10067512
cmp dword [esi + 0x32b8], ebx
je 0x100674e8
mov eax, dword [esi + 0x32bc]
mov esi, dword [esi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push eax
push 1
push ebx
push 0x1234
push 0x843
push esi
call fcn.10054c80
mov eax, dword [esp + 0x10]
jmp 0x1006752e
mov esi, dword [esi + 0x1c]
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.10054c80
mov eax, dword [esp + 0x1c]
jmp 0x1006752a
mov eax, dword [esi + 0x1c]
push ebx
push 0x1234
push 0x843
push eax
push esi
call fcn.100b4290
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x100675cb
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 0x100675c3
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.10044290
add esp, 0xc
cmp eax, ebx
je 0x1006758b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x1c]
cmp eax, 0xffff
je 0x100675cb
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.10101c10
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 0x100675e0
sub eax, edx
push eax
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.10009d90
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.101003d3
add esp, 0x12c
ret
Function at 0x10067630
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x101647e9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b734c]
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 0x100676d1
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, ebx
je 0x100676cb
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
cmp eax, ebx
je 0x100676cb
mov ecx, eax
lea ebp, [ecx + 1]
jmp 0x100676b0
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x100676b0
sub ecx, ebp
push ecx
push eax
mov ecx, esi
call fcn.10009d90
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 0x100676f0
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10164832
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
mov eax, dword [0x101b734c]
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.10100e30
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.10101c10
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 0x10067830
sub eax, edx
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.10009d90
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.101003d3
add esp, 0x248
ret
Function at 0x100692a0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10164cc2
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b734c]
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.10100e30
push ebx
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.10044e30
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.10101b39
mov edi, eax
add esp, 0x24
cmp edi, esi
je 0x100693d6
push 2
push esi
push edi
call fcn.10101ab4
push edi
call fcn.101019bf
push esi
push esi
push edi
mov ebx, eax
call fcn.10101ab4
lea ecx, [ebx + 1]
push ecx
call fcn.100ffe35
mov esi, eax
add esp, 0x20
test esi, esi
je 0x100693cd
push edi
push ebx
push 1
push esi
call fcn.1010180c
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 0x100693b0
sub eax, edx
push eax
push esi
mov ecx, ebp
call fcn.10009d90
push esi
call fcn.100ffef8
add esp, 4
push edi
call fcn.101014f4
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.101003d3
add esp, 0x21c
ret
Function at 0x10069400
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x10164d12
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b734c]
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.10100e30
push edi
lea ecx, [esp + 0x4c]
push ecx
push esi
call fcn.10044e30
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.10101b39
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 0x100695f5
push 2
push ebx
push edi
call fcn.10101ab4
push edi
call fcn.101019bf
push ebx
push ebx
push edi
mov esi, eax
call fcn.10101ab4
lea ecx, [esi + 1]
push ecx
call fcn.100ffe35
add esp, 0x20
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x100695ec
push edi
push esi
push 1
push eax
call fcn.1010180c
mov edx, dword [esp + 0x28]
lea eax, [esi + esi*2 + 3]
push eax
mov byte [edx + esi], bl
call fcn.100ffe35
mov ecx, eax
add esp, 0x14
cmp ecx, ebx
mov dword [esp + 0x1c], ecx
je 0x100695df
xor edi, edi
cmp esi, ebx
mov ebp, ecx
mov byte [ecx], bl
jle 0x100695af
lea esp, [esp]
mov ecx, dword [esp + 0x18]
movzx edx, byte [edi + ecx]
lea eax, [esi - 1]
cmp edi, eax
push edx
je 0x10069593
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.10101c10
add esp, 0xc
add ebp, 3
jmp 0x100695a4
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.10101c10
add esp, 0xc
add ebp, 2
add edi, 1
cmp edi, esi
jl 0x10069570
mov ecx, dword [esp + 0x1c]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x100695b4
sub eax, esi
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.10009d90
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.100ffef8
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
add esp, 4
mov edx, dword [esp + 0x18]
push edx
call fcn.100ffef8
add esp, 4
push edi
call fcn.101014f4
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.101003d3
add esp, 0x238
ret
Function at 0x10069f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10164f09
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov eax, dword [0x101b734c]
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.10101c10
lea eax, [esp + 0x2c]
add esp, 0x10
lea edx, [eax + 1]
jmp 0x10069fa0
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10069fa0
sub eax, edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.10009d90
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.101003d3
add esp, 0x40
ret
Function at 0x1007cfe0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10165582
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x101b734c]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x101b734c]
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.10070c70
add esp, 0x1c
test eax, eax
jne 0x1007d07b
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x1016aa44
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009d90
jmp 0x1007d0f8
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.10101c10
add esp, 0x10
cmp dword [edi + 0x32fc], ebx
jne 0x1007d0c9
mov eax, dword [esp + 0x10]
push eax
call fcn.100ffef8
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 0x1007d0e0
sub eax, edx
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.10009d90
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.101003d3
add esp, 0x150
ret