Function at 0x10009380
Capabilities:
Access peb ldr_data
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015ef6c
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101ed004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edi
mov dword [edi + 4], vtable.IWriteStream.0
mov dword [edi + 8], vtable.IComprErrorEvent.0
mov dword [edi], vtable.CArkCompr.2.0
mov dword [edi + 4], vtable.CArkCompr.1.0
mov dword [edi + 8], vtable.CArkCompr.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
lea esi, [edi + 0x28]
mov byte [ebp - 4], 1
push 0x28
mov dword [ebp - 0x3c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.101427a2
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ebx, [edi + 0x40]
mov dword [edi + 0x30], 0
mov ecx, ebx
mov dword [edi + 0x34], 1
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.10008c20
push ecx
lea edx, [edi + 0x158]
push edx
lea ecx, [edi + 0x100]
call fcn.100123b0
mov ecx, edx
call fcn.10002c90
add edi, 0x1c8
mov dword [edi + 8], 0
mov dword [edi], vtable.CArkMemOut.1.0
mov dword [edi + 4], vtable.CArkMemOut.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 1
mov esi, dword [ebp - 0x38]
mov dword [esi + 0x20c], 0x101f1fd0
mov dword [esi + 0x210], 0
mov dword [esi + 0x3e8], 0
mov dword [esi + 0x3ec], 0
mov dword [esi + 0x3f0], 0
add esi, 0x3f8
mov byte [ebp - 4], 5
push 0x2c
mov dword [ebp - 0x3c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.101427a2
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov esi, dword [ebp - 0x38]
mov dword [esi + 0x494], 0x101d1eb4
mov dword [esi + 0x498], 0
mov dword [esi + 0x49c], 0
mov byte [ebp - 4], 7
mov eax, 0x7a
mov word [esi + 0x40c], ax
lea eax, [ebp - 0x34]
push eax
mov dword [esi + 0x404], 0
mov dword [esi + 0x408], 0
mov dword [esi + 0x410], 0
mov dword [esi + 0x400], 0
mov dword [esi + 0x1f4], 0
mov dword [esi + 0x1f0], 0
mov dword [esi + 0x1f8], 0
mov dword [esi + 0x1fc], 0
mov dword [esi + 0x3e0], 0
mov dword [esi + 0x3e4], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0xf8], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov ecx, 1
cmp eax, ecx
mov dword [esi + 0x174], 1
push 0x19000
cmovl eax, ecx
mov ecx, 0x40
cmp eax, ecx
cmovg eax, ecx
mov dword [esi + 0xfc], eax
lea eax, [esi + 8]
mov dword [esi + 0x1c0], eax
call fcn.10146843
mov dword [esi + 0x490], eax
lea eax, [esi + 0x428]
mov dword [esi + 0xc], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
push 0x58
push 0
push eax
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0x3f4], 0
mov dword [esi + 0x480], 0
mov dword [esi + 0x414], 0
mov dword [esi + 0x418], 0
mov dword [esi + 0x41c], 0
mov dword [esi + 0x420], 0
mov dword [esi + 0x488], 0
mov dword [esi + 0x48c], 0
mov dword [esi + 0x3e4], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0xf8], 0
call fcn.10143f10
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
mov dword [esi + 0x1e8], 1
push 0
push 0x2000
call dword [eax + 0x24]
mov ecx, ebx
call fcn.10008c20
mov eax, dword [esi + 0x1f8]
test eax, eax
je 0x10009722
push eax
call fcn.10146720
add esp, 4
mov dword [esi + 0x1f8], 0
mov ecx, esi
call fcn.10009920
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10142783
mov esp, ebp
pop ebp
ret