Function at 0x10066e8e
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a5229
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x100bc210]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x100bc210]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x38]
push 0x10084c46
push 0x10084b85
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x3c]
push 0xa
mov dword [esp + 0x30], eax
push 4
lea eax, [esp + 0xb0]
push eax
mov ebx, ecx
mov edi, edx
call fcn.10088c20
and dword [esp + 0xd8], 0
mov eax, edi
lea edi, [esp + 0xa0]
call fcn.1005f5c3
mov eax, ebx
lea edi, [esp + 0xa4]
call fcn.1005f5c3
lea eax, [esp + 0x18]
push eax
call fcn.1002a680
lea edi, [esp + 0xa8]
mov byte [esp + 0xd8], 1
call fcn.1005f5c3
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [0x100bcf90]
mov ebx, 0x100bcf90
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push dword [ebp + 0x2c]
lea eax, [esp + 0x1c]
push 0x10004bb0
push eax
mov byte [esp + 0xe4], 2
call fcn.10084899
add esp, 0xc
lea eax, [esp + 0x18]
lea edi, [esp + 0xac]
call fcn.1005f5c3
mov eax, esi
lea edi, [esp + 0xb0]
call fcn.1005f5c3
mov eax, dword [0x100bcf90]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov esi, 0x10014b50
push esi
lea eax, [esp + 0x2c]
mov byte [esp + 0xdc], 3
mov edi, dword [esp + 0x2c]
push eax
call fcn.1005fdda
lea edi, [esp + 0x14]
mov byte [esp + 0xd8], 4
call fcn.1005f5c3
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.10084c29
mov edi, dword [esp + 0x34]
push esi
lea eax, [esp + 0x38]
push eax
call fcn.1005fdda
mov byte [esp + 0xd8], 5
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x1c]
call fcn.10067b76
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.10084c29
mov edi, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x20]
push eax
call fcn.1005fdda
mov byte [esp + 0xd8], 6
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x1c]
call fcn.10067b76
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
push 5
push 0x10003bb0
lea eax, [esp + 0x1c]
call fcn.10067b76
lea eax, [esp + 0x14]
lea edi, [esp + 0xb4]
call fcn.1005f5c3
push dword [esp + 0x38]
lea eax, [esp + 0x20]
push eax
call fcn.1006b2d5
lea edi, [esp + 0xb8]
mov byte [esp + 0xd8], 7
call fcn.1005f5c3
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x20]
lea edi, [esp + 0xbc]
call fcn.1005f5c3
mov eax, dword [esp + 0x24]
lea edi, [esp + 0xc0]
call fcn.1005f5c3
push 9
pop ecx
xor eax, eax
mov dword [esp + 0x78], 0x1001af38
lea edi, [esp + 0x7c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 8
call fcn.10027ae6
test al, al
je 0x100671ee
xor edi, edi
mov esi, 0x1001cfc4
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xdc], 9
call fcn.1002ab57
push dword [esp + 0x44]
lea ecx, [esp + 0xa4]
push ecx
push eax
push dword [ebp + 0x30]
xor edx, edx
push dword [esp + 0x4c]
lea ecx, [esp + 0x64]
mov byte [esp + 0xec], 0xa
call fcn.1005c8f9
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10084c29
cmp dword [esp + 0x20], edi
jne 0x100671d9
mov dword [esp + 0x50], esi
lea esi, [esp + 0x50]
call fcn.1005cc60
jmp 0x10067293
mov byte [esp + 0xd8], 8
mov dword [esp + 0x50], esi
lea esi, [esp + 0x50]
call fcn.1005cc60
mov ecx, ebx
lea esi, [esp + 0x30]
mov dword [esp + 0x2c], 0x1001cfec
call fcn.10084b65
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xdc], 0xb
call fcn.1002ab57
push dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push dword [ebp + 0x28]
lea edx, [esp + 0xa8]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x5c]
push dword [ebp + 0xc]
mov byte [esp + 0xec], 0xc
push eax
call fcn.1005ce50
mov edi, esi
mov byte [esp + 0xd8], 0xd
call fcn.1005f5c3
mov byte [esp + 0xd8], 0xc
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, esi
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x30]
call dword [eax + 4]
lea eax, [esp + 0x2c]
push eax
call fcn.1005d7c1
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10084c29
lea ecx, [esp + 0x2c]
call fcn.1005cd6d
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x78], 0x1001af38
call fcn.10084c29
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084c29
or dword [esp + 0xd8], 0xffffffff
push 0x10084c46
push 0xa
push 4
lea eax, [esp + 0xac]
push eax
call fcn.10087890
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.10086e31
mov esp, ebp
pop ebp
ret 0x38