Function at 0x4252d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572662
mov eax, dword fs:[0]
push eax
sub esp, 0x72c
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x6ec], esi
mov edi, ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x6f4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6e8], eax
lea eax, [ebp - 0x738]
mov dword [ebp - 0x6f0], 0
push eax
mov dword [ebp - 0x6f8], edi
mov dword [ebp - 0x738], 0
movdqu xmmword [ebp - 0x734], xmm0
movdqu xmmword [ebp - 0x724], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x6f0], 1
cmp eax, 6
je 0x425396
cmp eax, 9
mov ecx, 0x8664
mov edx, 0x14c
cmovne ecx, edx
mov dword [ebp - 0x6e4], ecx
jmp 0x4253a0
mov dword [ebp - 0x6e4], 0x200
push 0xa0
lea eax, [ebp - 0x6d4]
push 0
push eax
call fcn.0053ca90
mov ecx, dword [ebp - 0x6e8]
push 0x208
mov dword [ebp - 0x6d0], 3
mov dword [ebp - 0x6b8], 3
mov eax, dword [ecx + 0xb8]
mov dword [ebp - 0x6d8], eax
mov eax, dword [ecx + 0xb4]
mov dword [ebp - 0x6c0], eax
xor eax, eax
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.0053ca90
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
call fcn.0053ca90
add esp, 0x24
mov byte [ebp - 0x6d9], 1
mov dword [ebp - 0x6e0], 0
nop
push 0
push dword [0x5c1454]
lea eax, [ebp - 0x6d8]
push dword [0x5c1458]
push 0
push dword [ebp - 0x6e8]
push eax
push dword [ebp - 0x6f4]
push esi
push dword [ebp - 0x6e4]
call dword [0x5c145c]
test eax, eax
je 0x4255d2
mov eax, dword [ebp - 0x6d8]
test eax, eax
je 0x425577
push 0x1c
lea ecx, [ebp - 0x714]
mov dword [ebp - 0x714], 0
push ecx
xorps xmm0, xmm0
push eax
push esi
movdqu xmmword [ebp - 0x710], xmm0
movq qword [ebp - 0x700], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x634], ax
lea eax, [ebp - 0x632]
push eax
call fcn.0053ca90
mov ecx, dword [ebp - 0x710]
add esp, 0xc
test ecx, ecx
je 0x42553b
mov eax, dword [0x5c1444]
test eax, eax
je 0x42553b
push 0x104
lea edx, [ebp - 0x634]
push edx
push ecx
push esi
call eax
test eax, eax
je 0x42553b
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov eax, dword [ebp - 0x6d8]
sub eax, dword [ebp - 0x710]
push eax
push esi
push str._s0x_08x
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0041f270
mov esi, dword [ebp - 0x6ec]
add esp, 0x14
mov byte [ebp - 0x6d9], 0
jmp 0x425569
cmp byte [ebp - 0x6d9], 0
lea eax, [ebp - 0x21c]
push dword [ebp - 0x6d8]
push str.0x_08x
push 0x104
je 0x425560
lea eax, [ebp - 0x428]
push eax
call fcn.0041f270
add esp, 0x10
cmp word [ebp - 0x21c], 0
jne 0x425581
xor ecx, ecx
jmp 0x42559f
mov dword [ebp - 0x21c], 0x30
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425590
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.0041c0b0
push 1
push 0x597b88
mov ecx, edi
call fcn.0041c0b0
mov eax, dword [ebp - 0x6e0]
inc eax
mov dword [ebp - 0x6e0], eax
cmp eax, 0xf
jbe 0x425430
cmp dword [edi + 0x10], 0
jne 0x42560e
cmp word [ebp - 0x428], 0
jne 0x4255e6
xor ecx, ecx
jmp 0x4255ff
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4255f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x428]
mov ecx, edi
push eax
call fcn.0041c0b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret