Function at 0x10025fe0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f2b46
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x10139d00]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
xor eax, eax
mov edi, ecx
lea ecx, [esp + 0x48]
push ecx
push eax
mov ebx, edx
push edi
mov dword [esp + 0x50], ebx
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 + 0x6c], 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
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
call esi
test eax, eax
je 0x100262ae
lea edx, [esp + 0x6c]
push edx
push 0
push ebx
call esi
test eax, eax
je 0x100262ae
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
xor eax, eax
xor esi, esi
or eax, edx
or ecx, esi
mov dword [esp + 0xa8], ecx
ja 0x100260d2
cmp eax, 4
jbe 0x100262ae
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
xor eax, eax
xor esi, esi
or eax, edx
or ecx, esi
mov dword [esp + 0xa8], ecx
ja 0x100260fa
cmp eax, 4
jbe 0x100262ae
lea eax, [esp + 0x14]
push eax
call fcn.1002a470
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x144], 0
call fcn.1002a470
mov byte [esp + 0x140], 1
mov eax, dword [esp + 0x68]
cmp eax, 0x10000
jb 0x10026131
mov eax, 0x10000
push eax
lea eax, [esp + 0x18]
call fcn.10001c70
mov esi, dword [esp + 0x24]
sub esi, dword [esp + 0x20]
jne 0x1002614a
call fcn.100d13c5
mov ebx, dword [esp + 0x20]
mov ecx, esi
mov eax, edi
call fcn.10001000
cmp esi, eax
jne 0x1002629c
mov eax, dword [esp + 0x8c]
cmp eax, 0x10000
jb 0x10026172
mov eax, 0x10000
push eax
lea eax, [esp + 0x30]
call fcn.10001c70
mov esi, dword [esp + 0x3c]
sub esi, dword [esp + 0x38]
jne 0x1002618b
call fcn.100d13c5
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov ecx, esi
call fcn.10001000
cmp esi, eax
jne 0x1002629c
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
sub esi, dword [esp + 0x38]
mov edx, eax
sub edx, dword [esp + 0x20]
cmp edx, esi
jne 0x1002629c
xor ebx, ebx
cmp esi, ebx
ja 0x100261cb
call fcn.100d13c5
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
jne 0x100261da
call fcn.100d13c5
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0xd8], 0x1012ca14
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], edi
mov dword [esp + 0xe4], esi
mov byte [esp + 0x128], bl
mov dword [esp + 0x94], 0x1012ca28
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 eax, dword [esp + 0xc4]
lea edx, [esp + 0xd4]
push edx
dec eax
push eax
lea ecx, [esp + 0x98]
push ecx
call fcn.1002a1a0
add esp, 0xc
test eax, eax
jl 0x1002629c
cmp byte [esp + 0x124], bl
je 0x1002629c
mov ecx, 0x10
lea esi, [esp + 0xe4]
mov edi, 0x101e2fc9
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x2c]
call fcn.1002a4d0
lea esi, [esp + 0x14]
call fcn.1002a4d0
mov eax, 1
jmp 0x100262b0
lea esi, [esp + 0x2c]
call fcn.1002a4d0
lea esi, [esp + 0x14]
call fcn.1002a4d0
xor eax, eax
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.100d0738
mov esp, ebp
pop ebp
ret