Function at 0x10002d70
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x100f2e46
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10139d00]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov ebp, dword [esp + 0x104]
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x48]
xor ebx, ebx
push eax
mov esi, ecx
push ebx
push esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x78], ebx
call edi
test eax, eax
je 0x1000302e
lea ecx, [esp + 0x6c]
push ecx
push ebx
push ebp
call edi
test eax, eax
je 0x1000302e
cmp dword [esp + 0x64], ebx
jne 0x1000302e
cmp dword [esp + 0x88], ebx
jne 0x1000302e
lea edx, [esp + 0x18]
push edx
call fcn.1002a470
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x100], ebx
call fcn.1002a470
mov byte [esp + 0xfc], 1
mov ecx, dword [esp + 0x68]
push ecx
lea eax, [esp + 0x1c]
call fcn.10001c70
mov edi, dword [esp + 0x28]
sub edi, dword [esp + 0x24]
jne 0x10002e8b
call fcn.100d13c5
mov ebx, dword [esp + 0x24]
mov ecx, edi
mov eax, esi
call fcn.10001000
cmp edi, eax
jne 0x1000301c
mov edx, dword [esp + 0x8c]
push edx
lea eax, [esp + 0x34]
call fcn.10001c70
mov esi, dword [esp + 0x40]
sub esi, dword [esp + 0x3c]
jne 0x10002ec0
call fcn.100d13c5
mov ebx, dword [esp + 0x3c]
mov ecx, esi
mov eax, ebp
call fcn.10001000
cmp esi, eax
jne 0x1000301c
mov ecx, dword [esp + 0x28]
mov eax, ecx
sub eax, dword [esp + 0x24]
cmp eax, 4
jbe 0x1000301c
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x3c]
lea esi, [eax - 4]
cmp esi, edx
jne 0x1000301c
cmp esi, eax
jb 0x10002f08
call fcn.100d13c5
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp dword [eax + esi], 0x434e4521
jne 0x1000301c
mov edi, dword [esp + 0x40]
sub edi, dword [esp + 0x3c]
jne 0x10002f2c
call fcn.100d13c5
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
jne 0x10002f3b
call fcn.100d13c5
mov ecx, dword [esp + 0x24]
xor ebx, ebx
lea edx, [esp + 0xa4]
push edx
mov dword [esp + 0xcc], 0x10122758
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], edi
mov byte [esp + 0xec], bl
mov dword [esp + 0x94], 0x1012276c
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0xa0], 0x28f5c28
mov dword [esp + 0xa4], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0xb8]
lea eax, [esp + 0xc8]
push eax
dec ecx
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.1002a1a0
add esp, 0xc
test eax, eax
jl 0x1000301c
lea esi, [esp + 0x30]
cmp byte [esp + 0xe8], bl
je 0x10003020
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xe0]
mov dword [0x101e300d], eax
mov eax, dword [esp + 0xe4]
mov dword [0x101e3011], ecx
mov dword [0x101e3015], edx
mov dword [0x101e3019], eax
call fcn.1002a4d0
lea esi, [esp + 0x18]
call fcn.1002a4d0
lea eax, [ebx + 1]
jmp 0x10003030
lea esi, [esp + 0x30]
call fcn.1002a4d0
lea esi, [esp + 0x18]
call fcn.1002a4d0
xor eax, eax
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.100d0738
add esp, 0xec
ret 4