Function at 0x1002aaa6
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089faa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push esi
push edi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002b4eb
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x120], 0xfffffff9
mov dword [ebp - 0x68], 0xa0a9
mov dword [ebp - 0x30], 0
jmp 0x1002aafd
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1002ab10
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x14], 0xfffffffe
jmp 0x1002aaf6
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x14], 8
jmp 0x1002ab35
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x14], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0x1c
jl 0x1002abb4
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], 0x13
jmp 0x1002ab59
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffffc
jl 0x1002ab75
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1002ab73
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x1002ab52
mov dword [ebp - 0x18], 0x15
jmp 0x1002ab85
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffea
jne 0x1002abaf
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1002abad
push 0
push 0
push 0x1101
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1002ab7e
jmp 0x1002ab20
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0x178], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0x174], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0xa4], eax
jle 0x1002abef
mov eax, 0x4709ba87
test eax, eax
jne 0x1002abf8
mov eax, 0xafb5
test eax, eax
jne 0x1002ac0a
mov eax, 0xfffc
test eax, eax
jne 0x1002ac0a
and dword [ebp - 0xcc], 0
jmp 0x1002ac14
mov dword [ebp - 0xcc], 1
cmp dword [ebp - 0xcc], 0x4ea1
jl 0x1002ac2c
mov dword [ebp - 0x110], 1
jmp 0x1002ac33
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x120], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x68]
cmp dword [ebp + eax - 0x14], ecx
jg 0x1002ac58
mov dword [ebp - 0x7c], 1
jmp 0x1002ac5c
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x7c], eax
je 0x1002ac73
mov dword [ebp - 0xe0], 1
jmp 0x1002ac7a
and dword [ebp - 0xe0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0xe0], eax
jl 0x1002ac98
mov dword [ebp - 0x84], 1
jmp 0x1002ac9f
and dword [ebp - 0x84], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
sub eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x68]
jge 0x1002acc0
mov dword [ebp - 0xe8], 1
jmp 0x1002acc7
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0xe8]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14c], eax
push 4
lea ecx, [ebp - 0x4c]
call fcn.1001a36d
and dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x369
mov dword [ebp - 0x70], 0x712c5197
mov dword [ebp - 0x5c], 0x18a8
mov dword [ebp - 0x40], 0
jmp 0x1002ad16
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jge 0x1002ad2f
push dword [ebp - 0x40]
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
mov dword [eax], 0xfff9
jmp 0x1002ad0f
push 3
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
push 2
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
cmp dword [eax], 0
jne 0x1002ad60
push 3
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
cmp dword [eax], 0
jne 0x1002ad60
and dword [ebp - 0x8c], 0
jmp 0x1002ad6a
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x17c], eax
push 1
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
mov esi, dword [eax]
add esi, dword [ebp - 0x8c]
push 1
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
cmp esi, dword [eax]
jg 0x1002ada9
mov dword [ebp - 0xf0], 1
jmp 0x1002adb0
and dword [ebp - 0xf0], 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
mov ecx, dword [ebp - 0xf0]
add ecx, dword [eax]
cmp ecx, dword [ebp - 0x20]
jl 0x1002add3
mov dword [ebp - 0x94], 1
jmp 0x1002adda
and dword [ebp - 0x94], 0
push 3
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [eax]
jl 0x1002afba
mov dword [ebp - 0x28], 0xa4d1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], 6
jmp 0x1002ae10
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffe9
jg 0x1002aee0
mov dword [ebp - 0x150], 0xfffffffe
mov dword [ebp - 0x158], 1
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18c], eax
push 0
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x28]
mov dword [ebp - 0x70], eax
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x28]
shl edi, 2
push 3
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
imul edi, dword [eax]
cmp edi, esi
jne 0x1002ae82
mov dword [ebp - 0xf8], 1
jmp 0x1002ae89
and dword [ebp - 0xf8], 0
push 3
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
mov ecx, dword [ebp - 0xf8]
cmp ecx, dword [eax]
jle 0x1002aea9
mov dword [ebp - 0x9c], 1
jmp 0x1002aeb0
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0x314a
je 0x1002aec8
mov dword [ebp - 0x100], 1
jmp 0x1002aecf
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x158], eax
jmp 0x1002ae09
cmp dword [ebp - 0x28], 0xfff9
je 0x1002aef5
mov dword [ebp - 0xfc], 1
jmp 0x1002aefc
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jb 0x1002af15
mov dword [ebp - 0x108], 1
jmp 0x1002af1c
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x108], eax
jne 0x1002af3c
mov dword [ebp - 0xac], 1
jmp 0x1002af43
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0xac]
jne 0x1002af5d
mov dword [ebp - 0xe4], 1
jmp 0x1002af64
and dword [ebp - 0xe4], 0
push 3
lea ecx, [ebp - 0x4c]
call fcn.1001a3f7
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [eax]
jg 0x1002af84
mov dword [ebp - 0xb4], 1
jmp 0x1002af8b
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0xb4]
jle 0x1002afa8
mov dword [ebp - 0x10c], 1
jmp 0x1002afaf
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x70], eax
jmp 0x1002aff6
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x140], 0xffffffff
cmp dword [ebp - 0x154], 0xfffffff9
jle 0x1002afe3
mov dword [ebp - 0xbc], 1
jmp 0x1002afea
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x140], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.1001a3f2
mov dword [ebp - 0x64], 0x3638ecf5
mov dword [ebp - 0x2c], 0xb6182eac
mov dword [ebp - 0x6c], 0xd68
mov dword [ebp - 0x148], 1
cmp dword [ebp - 0x64], 0xfffffffa
jge 0x1002b033
mov dword [ebp - 0xec], 1
jmp 0x1002b03a
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1002b0a4
mov dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x6c], 0x9934b0b4
jb 0x1002b08c
mov dword [ebp - 0xc4], 1
jmp 0x1002b093
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x148], eax
jmp 0x1002b1a6
mov dword [ebp - 0x34], 0x168f
mov dword [ebp - 0x134], 0xfffffffd
mov eax, dword [ebp - 0x134]
cmp dword [ebp - 0x2c], eax
jg 0x1002b0cc
mov dword [ebp - 0x104], 1
jmp 0x1002b0d3
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x104], eax
je 0x1002b0e7
mov dword [ebp - 0x74], 1
jmp 0x1002b0eb
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0x9d44
jle 0x1002b100
mov dword [ebp - 0xf4], 1
jmp 0x1002b107
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xf4], eax
jg 0x1002b11e
mov dword [ebp - 0xd4], 1
jmp 0x1002b125
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xd4]
je 0x1002b13c
mov dword [ebp - 0x114], 1
jmp 0x1002b143
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x114]
je 0x1002b15a
mov dword [ebp - 0xdc], 1
jmp 0x1002b161
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xdc]
jl 0x1002b178
mov dword [ebp - 0xa0], 1
jmp 0x1002b17f
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xa0]
je 0x1002b196
mov dword [ebp - 0xa8], 1
jmp 0x1002b19d
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
movzx eax, byte [eax]
test eax, eax
je 0x1002b1ca
push 0x1daf
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
push 3
lea ecx, [ebp - 0x58]
call fcn.1001a36d
mov dword [ebp - 4], 1
mov dword [ebp - 0x80], 0x40c3
push 2
lea ecx, [ebp - 0x164]
call fcn.1001a36d
mov byte [ebp - 4], 2
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x128], 0x7f4a1d2d
mov dword [ebp - 0x60], 0xb2faa963
push 2
lea ecx, [ebp - 0x170]
call fcn.1001a36d
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0
jmp 0x1002b22f
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1002b248
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
mov dword [eax], 0xb4e1
jmp 0x1002b228
mov dword [ebp - 0x10], 0
jmp 0x1002b258
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1002b274
push dword [ebp - 0x10]
lea ecx, [ebp - 0x164]
call fcn.1001a3f7
mov dword [eax], 1
jmp 0x1002b251
mov dword [ebp - 0x10], 0
jmp 0x1002b284
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1002b2a0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x170]
call fcn.1001a3f7
mov dword [eax], 0x905f4d0c
jmp 0x1002b27d
push 0
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
cmp dword [eax], 0
jne 0x1002b481
push 2
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
cmp dword [eax], 0x418a5273
jl 0x1002b422
push 1
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
mov esi, eax
push 2
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
mov ecx, dword [esi]
add ecx, dword [eax]
cmp ecx, 0xfff8
je 0x1002b2f7
mov dword [ebp - 0xb0], 1
jmp 0x1002b2fe
and dword [ebp - 0xb0], 0
push 0
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
jle 0x1002b32d
push 2
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
cmp dword [eax], 0
je 0x1002b32d
mov dword [ebp - 0xb8], 1
jmp 0x1002b334
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0x7ea
jne 0x1002b34c
mov dword [ebp - 0xc0], 1
jmp 0x1002b353
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0xc0], eax
jne 0x1002b36a
mov dword [ebp - 0x144], 1
jmp 0x1002b371
and dword [ebp - 0x144], 0
push 0
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
push 0
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
push 0
lea ecx, [ebp - 0x164]
call fcn.1001a3f7
mov dword [eax], 0xfff6
push 0
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
push 0
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
mov eax, dword [eax]
add eax, 0xe809
jne 0x1002b3cd
push 0
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
cmp dword [eax], 0
jne 0x1002b3cd
and dword [ebp - 0x124], 0
jmp 0x1002b3d7
mov dword [ebp - 0x124], 1
push 1
lea ecx, [ebp - 0x58]
call fcn.1001a3f7
cmp dword [ebp - 0xd8], 0xfffffffb
jg 0x1002b3f6
mov dword [ebp - 0xc8], 1
jmp 0x1002b3fd
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x60], 6
cmp dword [ebp - 0x60], 0
je 0x1002b422
mov dword [ebp - 0xd0], 1
jmp 0x1002b429
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
sub eax, 0xc938
cmp eax, dword [ebp - 0xd8]
jl 0x1002b445
mov dword [ebp - 0x78], 1
jmp 0x1002b449
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
add eax, 5
cmp eax, dword [ebp - 0x80]
jge 0x1002b463
cmp dword [ebp - 0x60], 0
jne 0x1002b463
and dword [ebp - 0x88], 0
jmp 0x1002b46d
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x88]
sub eax, 8
jne 0x1002b481
and dword [ebp - 0x90], 0
jmp 0x1002b48b
mov dword [ebp - 0x90], 1
cmp dword [ebp - 0x90], 0xffffffff
jne 0x1002b4a0
mov dword [ebp - 0x98], 1
jmp 0x1002b4a7
and dword [ebp - 0x98], 0
push 1
lea ecx, [ebp - 0x170]
call fcn.1001a3f7
mov ecx, dword [ebp - 0x98]
mov dword [eax], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x170]
call fcn.1001a3f2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x164]
call fcn.1001a3f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.1001a3f2
jmp 0x1002b5cb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x38], 0
jmp 0x1002b504
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1002b51a
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x11c], 0x24a8c6a5
jmp 0x1002b4fd
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x11c], 0xffffffff
jmp 0x1002b548
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x11c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x11c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x11c], 0x14
je 0x1002b586
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1002b572
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1002b584
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
jmp 0x1002b52d
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x1002b5a0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
movzx eax, byte [eax]
test eax, eax
je 0x1002b5cb
push 0x41e
push 0x2286
push 0
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret