Function at 0x424400
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbfa6
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x51b170]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x11c], ebx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp eax, 1
je 0x424539
mov esi, dword [ebp + 0x10]
cmp esi, 0x78
jb 0x42477a
test eax, eax
jne 0x42458b
push dword [ebp - 0x11c]
push edx
mov edx, ecx
lea ecx, [ebp - 0x34]
push esi
call fcn.0042bd10
sub esp, 8
mov byte [ebp - 4], 6
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x144]
push 0xc0000000
push eax
call fcn.0042bdf0
mov byte [ebp - 4], 7
mov ecx, 1
mov edi, dword [ebp - 0x144]
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
jne 0x424522
mov eax, dword [ebp - 0x144]
add esi, 0xfffffff8
add eax, 8
cmp dword [ebp + 0x24], 1
je 0x4244e1
mov ecx, dword [ebp + 0x20]
push esi
push eax
call fcn.00427100
lea eax, [ebp - 0x144]
mov ecx, ebx
push eax
call fcn.00405bf0
mov eax, 2
xchg dword [edi], eax
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x424517
sub eax, dword [ebp - 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x134]
jmp 0x424748
cmp eax, 1
je 0x4247ca
cmp eax, 2
je 0x4247ca
jmp 0x42479f
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 1
push eax
push 0
push 0xc0000000
push dword [ecx]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x12c], 0
push 1
call fcn.00405da0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0
push eax
lea ecx, [ebp - 0x54]
call fcn.00405d50
lea ecx, [ebp - 0x54]
call fcn.00405cf0
sub esp, 0x14
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x158]
push 0xc0000000
push eax
call fcn.0042bdf0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x130], eax
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
xorps xmm0, xmm0
mov dword [ebp - 0x110], edi
xor esi, esi
movlpd qword [ebp - 0x118], xmm0
mov dword [ebp - 0x10c], esi
cmp eax, 1
je 0x4245e2
test eax, eax
jne 0x4246e7
test esi, esi
jne 0x424617
mov eax, dword [0x526678]
test eax, eax
jne 0x424602
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x188]
mov ecx, 1
cmp ecx, eax
sbb esi, esi
and esi, 0xffffffe0
add esi, 0x20
mov dword [ebp - 0x10c], esi
cmp esi, 8
jb 0x424659
cmp esi, 0x20
jae 0x424625
pause
jmp 0x424659
jne 0x42463a
lea ecx, [ebp - 0x118]
call fcn.00405a40
mov esi, dword [ebp - 0x10c]
jmp 0x424659
test edi, edi
jne 0x424679
mov al, byte [ebp - 0x10c]
and al, 1
je 0x4246e0
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x424659
push eax
call ebx
mov eax, dword [ebp - 0x130]
inc esi
mov dword [ebp - 0x10c], esi
mov eax, dword [eax]
mov esi, dword [ebp - 0x10c]
mov edi, dword [ebp - 0x110]
jmp 0x4245d5
mov ecx, 8
call fcn.004136b0
lea ecx, [ebp - 0x128]
push ecx
call eax
test eax, eax
jne 0x4246a6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], ecx
jmp 0x4246b2
mov ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp - 0x118]
sbb ecx, dword [ebp - 0x114]
test ecx, ecx
ja 0x4246cc
jb 0x4246c8
cmp eax, edi
jae 0x4246cc
mov al, 1
jmp 0x4246ce
xor al, al
test al, al
jne 0x42464c
mov dword [ebp - 0x110], 0
push 1
jmp 0x424657
cmp eax, 2
jne 0x424808
mov ecx, dword [ebp - 0x158]
mov eax, dword [ebp + 0x24]
add ecx, 8
cmp eax, 1
je 0x424705
test eax, eax
je 0x42470f
mov eax, dword [ebp + 0x20]
cmp dword [eax], 0
jne 0x42470f
mov dword [eax], ecx
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x158]
push eax
call fcn.00405bf0
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x424742
sub eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x148]
cmp eax, 0xffffffff
je 0x424754
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x34]
call fcn.00405cf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004996e8
mov esp, ebp
pop ebp
ret 0x20
push ecx
push 0x12
lea ecx, [ebp - 0x160]
call fcn.00405650
push eax
lea ecx, [ebp - 0x80]
call fcn.00405760
push 0x5185f4
lea eax, [ebp - 0x80]
push eax
call fcn.004b0fc9
push ecx
push 0x13
lea ecx, [ebp - 0x168]
call fcn.00405650
push eax
lea ecx, [ebp - 0xac]
call fcn.00405760
push 0x5185f4
lea eax, [ebp - 0xac]
push eax
call fcn.004b0fc9
push ecx
push 9
lea ecx, [ebp - 0x170]
call fcn.00405650
push eax
lea ecx, [ebp - 0xd8]
call fcn.00405760
push 0x5185f4
lea eax, [ebp - 0xd8]
push eax
call fcn.004b0fc9
mov dword [ebp - 0x10], esp
push 0
push 0
mov dword [ebp - 4], 0xa
call fcn.004b0fc9
push ecx
push 0x13
lea ecx, [ebp - 0x178]
call fcn.00405650
push eax
lea ecx, [ebp - 0x104]
call fcn.00405760
push 0x5185f4
lea eax, [ebp - 0x104]
push eax
call fcn.004b0fc9
int3