Function at 0x10066c6c
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 0x100a532b
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 0x10084b54
push 0x10084a93
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.10088bd0
and dword [esp + 0xd8], 0
mov eax, edi
lea edi, [esp + 0xa0]
call fcn.1005f4dc
mov eax, ebx
lea edi, [esp + 0xa4]
call fcn.1005f4dc
lea eax, [esp + 0x18]
push eax
call fcn.1002a652
lea edi, [esp + 0xa8]
mov byte [esp + 0xd8], 1
call fcn.1005f4dc
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084b37
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.100847a7
add esp, 0xc
lea eax, [esp + 0x18]
lea edi, [esp + 0xac]
call fcn.1005f4dc
mov eax, esi
lea edi, [esp + 0xb0]
call fcn.1005f4dc
mov eax, dword [0x100bcf90]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov esi, 0x10014b28
push esi
lea eax, [esp + 0x2c]
mov byte [esp + 0xdc], 3
mov edi, dword [esp + 0x2c]
push eax
call fcn.1005fcf3
lea edi, [esp + 0x14]
mov byte [esp + 0xd8], 4
call fcn.1005f4dc
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.10084b37
mov edi, dword [esp + 0x34]
push esi
lea eax, [esp + 0x38]
push eax
call fcn.1005fcf3
mov byte [esp + 0xd8], 5
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x1c]
call fcn.10067944
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.10084b37
mov edi, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x20]
push eax
call fcn.1005fcf3
mov byte [esp + 0xd8], 6
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [esp + 0x1c]
call fcn.10067944
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
push 5
push 0x10003bb0
lea eax, [esp + 0x1c]
call fcn.10067944
lea eax, [esp + 0x14]
lea edi, [esp + 0xb4]
call fcn.1005f4dc
push dword [esp + 0x38]
lea eax, [esp + 0x20]
push eax
call fcn.1006b050
lea edi, [esp + 0xb8]
mov byte [esp + 0xd8], 7
call fcn.1005f4dc
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x20]
lea edi, [esp + 0xbc]
call fcn.1005f4dc
mov eax, dword [esp + 0x24]
lea edi, [esp + 0xc0]
call fcn.1005f4dc
push 9
pop ecx
xor eax, eax
mov dword [esp + 0x78], 0x1001af10
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.10027ab8
test al, al
je 0x10066fcc
xor edi, edi
mov esi, 0x1001cf9c
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.1002ab29
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.1005c7e9
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10084b37
cmp dword [esp + 0x20], edi
jne 0x10066fb7
mov dword [esp + 0x50], esi
lea esi, [esp + 0x50]
call fcn.1005cb50
jmp 0x10067071
mov byte [esp + 0xd8], 8
mov dword [esp + 0x50], esi
lea esi, [esp + 0x50]
call fcn.1005cb50
mov ecx, ebx
lea esi, [esp + 0x30]
mov dword [esp + 0x2c], 0x1001cfc4
call fcn.10084a73
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xdc], 0xb
call fcn.1002ab29
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.1005cd40
mov edi, esi
mov byte [esp + 0xd8], 0xd
call fcn.1005f4dc
mov byte [esp + 0xd8], 0xc
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10084b37
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.1005d6b1
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10084b37
lea ecx, [esp + 0x2c]
call fcn.1005cc5d
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x78], 0x1001af10
call fcn.10084b37
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084b37
or dword [esp + 0xd8], 0xffffffff
push 0x10084b54
push 0xa
push 4
lea eax, [esp + 0xac]
push eax
call fcn.10087840
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.10086de1
mov esp, ebp
pop ebp
ret 0x38