Function at 0x100247ac
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074057
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100247fb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x100247f6
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x10024d60
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
push 4
lea ecx, [ebp - 0xa8]
call fcn.100154f1
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0xe1e87df2
mov dword [ebp - 0x44], 9
push 0x1226
push 0x5fc2
push 0
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10024ec6
add esp, 0x14
mov dword [ebp - 0x1c], 0
jmp 0x1002485e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jg 0x10024a41
push 2
lea ecx, [ebp - 0x50]
call fcn.100154f1
mov byte [ebp - 4], 1
push 2
lea ecx, [ebp - 0xc0]
call fcn.100154f1
mov byte [ebp - 4], 2
mov dword [ebp - 0x64], 0x29c214f1
push 0x6dfc
push 0x4944
lea eax, [ebp - 0x50]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
push 0x37bb
call fcn.1002a596
add esp, 0x18
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xc0]
push eax
push 0x28d0
push 0
call fcn.10025353
add esp, 0x10
push 1
lea ecx, [ebp - 0x50]
call fcn.1001557f
mov dword [eax], 3
jmp 0x100248f3
push 1
lea ecx, [ebp - 0x50]
call fcn.1001557f
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x50]
call fcn.1001557f
cmp dword [eax], 0
jl 0x100249ca
push 3
lea ecx, [ebp - 0xb4]
call fcn.100154f1
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 0x2c], 0
jmp 0x10024931
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1002494d
push dword [ebp - 0x2c]
lea ecx, [ebp - 0xb4]
call fcn.1001557f
mov dword [eax], 1
jmp 0x1002492a
push 1
lea ecx, [ebp - 0x50]
call fcn.1001557f
push dword [eax]
lea ecx, [ebp - 0xa8]
call fcn.1001557f
cmp dword [eax], 0
je 0x1002497a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.1001557a
jmp 0x100249ca
lea eax, [ebp - 0xa8]
push eax
push 0x38f4
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x84]
push eax
push 0x4cf6
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.10028994
add esp, 0x28
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.1001557a
jmp 0x100248db
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x44]
je 0x100249f6
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x100249f4
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
jmp 0x10024a21
mov byte [ebp - 0x14], 0
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x10024a0a
push 0
call fcn.100252f2
pop ecx
push 0x5805
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
call fcn.10026787
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc0]
call fcn.1001557a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.1001557a
jmp 0x10024857
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.1001557a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jne 0x10024d60
push 4
lea ecx, [ebp - 0x98]
call fcn.100154f1
mov dword [ebp - 4], 4
push 3
lea ecx, [ebp - 0xd0]
call fcn.100154f1
mov byte [ebp - 4], 5
mov dword [ebp - 0x10], 0
jmp 0x10024a9c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x10024ab8
push dword [ebp - 0x10]
lea ecx, [ebp - 0x98]
call fcn.1001557f
mov dword [eax], 0xac204e2
jmp 0x10024a95
mov dword [ebp - 0x10], 0
jmp 0x10024ac8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10024ae4
push dword [ebp - 0x10]
lea ecx, [ebp - 0xd0]
call fcn.1001557f
mov dword [eax], 0x390197f0
jmp 0x10024ac1
push 0x69bd
push 0x3316
push 1
call fcn.100241f9
add esp, 0xc
push 2
lea ecx, [ebp - 0x98]
call fcn.1001557f
mov dword [eax], 0xfffffffc
jmp 0x10024b28
push 2
lea ecx, [ebp - 0x98]
call fcn.1001557f
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x98]
call fcn.1001557f
cmp dword [eax], 0xffffffe3
jne 0x10024b9d
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x10024b64
push 0x6e0d
push 0x20a1
push 0
call fcn.10029b1d
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
push 0
push 0x2e77
push 0x66f3
push 0x4c93
push 0xc99
push 0x1c45
push 0x146f
push 0x1c04
call fcn.1002508d
add esp, 0x24
jmp 0x10024b0d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd0]
call fcn.1001557a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.1001557a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x10024c78
mov dword [ebp - 0x28], 0xfffffff6
mov dword [ebp - 0x78], 0xfffffffd
mov dword [ebp - 0x74], 0x1c946b43
mov dword [ebp - 0x80], 0x1d25bb08
mov dword [ebp - 0x6c], 0xfffffff9
push 0x6d82
push 0x1422
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x2499
lea eax, [ebp - 0x74]
push eax
push 0x7427
lea eax, [ebp - 0x78]
push eax
push 0x428
push 0x7d32
call fcn.1002a40a
add esp, 0x30
mov dword [ebp - 0x28], 0xffffffeb
jmp 0x10024c39
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1c
jge 0x10024c66
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10024c64
push 0x3707
push 0x3a00
push 0x238b
push 0
call fcn.1002bcde
add esp, 0x10
jmp 0x10024c32
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x10024d60
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x10024d60
mov dword [ebp - 0x24], 0xfffffffd
mov dword [ebp - 0x8c], 0x9d73ae4c
mov dword [ebp - 0x24], 0
jmp 0x10024caa
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1c
jge 0x10024d49
mov dword [ebp - 0x20], 0x6de713a4
mov dword [ebp - 0x70], 0xfffffffb
mov dword [ebp - 0x68], 0x6dbc1c23
mov dword [ebp - 0x7c], 0xfffd
mov dword [ebp - 0x20], 1
jmp 0x10024ce0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x18
jl 0x10024d44
mov dword [ebp - 0x58], 0xffaf0720
mov dword [ebp - 0x60], 0x1c3d076c
push 0x149c
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
call fcn.10024277
add esp, 0x28
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x12]
push eax
push 0x5843
push 0
push 0x50d7
call fcn.10024751
add esp, 0x10
jmp 0x10024cd9
jmp 0x10024ca3
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 0x40]
push eax
push 0x60eb
call fcn.10024428
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret