Function at 0x425390
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573a22
mov eax, dword fs:[0]
push eax
sub esp, 0x72c
mov eax, dword [0x5bd250]
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 0x425456
cmp eax, 9
mov ecx, 0x8664
mov edx, 0x14c
cmovne ecx, edx
mov dword [ebp - 0x6e4], ecx
jmp 0x425460
mov dword [ebp - 0x6e4], 0x200
push 0xa0
lea eax, [ebp - 0x6d4]
push 0
push eax
call fcn.0053e230
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.0053e230
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
call fcn.0053e230
add esp, 0x24
mov byte [ebp - 0x6d9], 1
mov dword [ebp - 0x6e0], 0
nop
push 0
push dword [0x5c3454]
lea eax, [ebp - 0x6d8]
push dword [0x5c3458]
push 0
push dword [ebp - 0x6e8]
push eax
push dword [ebp - 0x6f4]
push esi
push dword [ebp - 0x6e4]
call dword [0x5c345c]
test eax, eax
je 0x425692
mov eax, dword [ebp - 0x6d8]
test eax, eax
je 0x425637
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.0053e230
mov ecx, dword [ebp - 0x710]
add esp, 0xc
test ecx, ecx
je 0x4255fb
mov eax, dword [0x5c3444]
test eax, eax
je 0x4255fb
push 0x104
lea edx, [ebp - 0x634]
push edx
push ecx
push esi
call eax
test eax, eax
je 0x4255fb
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.0041f330
mov esi, dword [ebp - 0x6ec]
add esp, 0x14
mov byte [ebp - 0x6d9], 0
jmp 0x425629
cmp byte [ebp - 0x6d9], 0
lea eax, [ebp - 0x21c]
push dword [ebp - 0x6d8]
push str.0x_08x
push 0x104
je 0x425620
lea eax, [ebp - 0x428]
push eax
call fcn.0041f330
add esp, 0x10
cmp word [ebp - 0x21c], 0
jne 0x425641
xor ecx, ecx
jmp 0x42565f
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 0x425650
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.0041c100
push 1
push 0x599bb8
mov ecx, edi
call fcn.0041c100
mov eax, dword [ebp - 0x6e0]
inc eax
mov dword [ebp - 0x6e0], eax
cmp eax, 0xf
jbe 0x4254f0
cmp dword [edi + 0x10], 0
jne 0x4256ce
cmp word [ebp - 0x428], 0
jne 0x4256a6
xor ecx, ecx
jmp 0x4256bf
lea ecx, [ebp - 0x428]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4256b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x428]
mov ecx, edi
push eax
call fcn.0041c100
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.0053f9bc
mov esp, ebp
pop ebp
ret