Function at 0x1002fdd5
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b0d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10030236
mov dword [ebp - 0x2c], 0x16d6
cmp dword [ebp - 0x2c], 0x107f
jge 0x10030208
push 0x1090bc0c
mov edx, 0x10af952c
mov ecx, 0x1065c4d0
call fcn.10039900
mov edx, 0x10af9548
mov ecx, eax
call fcn.10039900
mov ecx, eax
call fcn.10017f97
push 0x1a
push 0
push 0x1090b7c8
call fcn.10017e2e
add esp, 0xc
push 0x1a
push 1
push 0x1090bbf0
call fcn.10017e2e
add esp, 0xc
and dword [ebp - 0x1c], 0
jmp 0x1002fe67
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov ecx, 0x10af952c
call fcn.1000f260
cmp dword [ebp - 0x1c], eax
jge 0x1002fea6
push dword [ebp - 0x1c]
mov ecx, 0x10af952c
call fcn.10010482
movsx eax, byte [eax]
mov byte [eax + 0x1090b767], 1
push dword [ebp - 0x1c]
mov ecx, 0x10af952c
call fcn.10010482
movsx eax, byte [eax]
mov byte [eax + 0x1090bb8f], 0
jmp 0x1002fe60
and dword [ebp - 0x20], 0
jmp 0x1002feb3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov ecx, 0x10af9548
call fcn.1000f260
cmp dword [ebp - 0x20], eax
jge 0x1002fee1
push dword [ebp - 0x20]
mov ecx, 0x10af9548
call fcn.10010482
movsx eax, byte [eax]
cmp eax, 0x2a
jne 0x1002fedf
mov eax, dword [ebp - 0x20]
mov dword [0x10071814], eax
jmp 0x1002feac
cmp dword [0x10071814], 0xffffffff
je 0x1002fefc
push 1
push dword [0x10071814]
mov ecx, 0x10af9548
call fcn.10010400
mov eax, dword [0x1090bc0c]
mov dword [ebp - 0x30], eax
mov eax, dword [0x1090bc0c]
dec eax
mov dword [0x1090bc0c], eax
cmp dword [ebp - 0x30], 0
je 0x10030208
mov byte [ebp - 0xd], 1
mov edx, 0x10af950c
mov ecx, 0x1065c4d0
call fcn.10039900
cmp dword [0x10071814], 0xffffffff
jne 0x1003002d
mov ecx, 0x10af9548
call fcn.1000f260
mov esi, eax
mov ecx, 0x10af950c
call fcn.1000f260
cmp esi, eax
je 0x1002ff60
push 0x10008344
call fcn.10050eec
pop ecx
jmp 0x1002fefc
and dword [ebp - 0x14], 0
jmp 0x1002ff6d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov ecx, 0x10af9548
call fcn.1000f260
cmp dword [ebp - 0x14], eax
jge 0x10030015
mov ecx, 0x10af950c
call fcn.1000f260
cmp dword [ebp - 0x14], eax
jge 0x10030015
push dword [ebp - 0x14]
mov ecx, 0x10af9548
call fcn.10010482
movsx eax, byte [eax]
push eax
call fcn.1005300a
pop ecx
test eax, eax
je 0x1002ffda
push dword [ebp - 0x14]
mov ecx, 0x10af9548
call fcn.10010482
movsx esi, byte [eax]
push dword [ebp - 0x14]
mov ecx, 0x10af950c
call fcn.10010482
movsx eax, byte [eax]
cmp esi, eax
je 0x1002ffda
mov byte [ebp - 0xd], 0
jmp 0x10030015
push dword [ebp - 0x14]
mov ecx, 0x10af9548
call fcn.10010482
movsx eax, byte [eax]
cmp eax, 0x3f
jne 0x10030010
push dword [ebp - 0x14]
mov ecx, 0x10af950c
call fcn.10010482
movsx eax, byte [eax]
movzx eax, byte [eax + 0x1090bb8f]
test eax, eax
je 0x10030010
mov byte [ebp - 0xd], 0
jmp 0x10030015
jmp 0x1002ff66
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x1003002d
push 0x10008344
call fcn.10050eec
pop ecx
jmp 0x1002fefc
cmp dword [0x10071814], 0xffffffff
je 0x100301f8
mov ecx, 0x10af950c
call fcn.1000f260
mov esi, eax
mov ecx, 0x10af9548
call fcn.1000f260
cmp esi, eax
jae 0x10030064
push 0x10008344
call fcn.10050eec
pop ecx
jmp 0x1002fefc
mov ecx, 0x10af9548
call fcn.1000f260
mov esi, eax
mov ecx, 0x10af950c
call fcn.1000f260
sub esi, eax
push esi
call fcn.10053474
pop ecx
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [0x10071814]
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x10af950c
call fcn.100384c6
and dword [ebp - 4], 0
push dword [ebp - 0x28]
push dword [0x10071814]
mov ecx, 0x10af950c
call fcn.10010400
and dword [ebp - 0x24], 0
jmp 0x100300c1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x54]
call fcn.1000f260
cmp dword [ebp - 0x24], eax
jge 0x100300ef
push dword [ebp - 0x24]
lea ecx, [ebp - 0x54]
call fcn.10010482
movsx eax, byte [eax]
movzx eax, byte [eax + 0x1090b767]
test eax, eax
je 0x100300ed
mov byte [ebp - 0xd], 0
jmp 0x100300ef
jmp 0x100300ba
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x10030113
push 0x10008344
call fcn.10050eec
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.1000e793
jmp 0x1002fefc
and dword [ebp - 0x18], 0
jmp 0x10030120
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov ecx, 0x10af9548
call fcn.1000f260
cmp dword [ebp - 0x18], eax
jge 0x100301c8
mov ecx, 0x10af950c
call fcn.1000f260
cmp dword [ebp - 0x18], eax
jge 0x100301c8
push dword [ebp - 0x18]
mov ecx, 0x10af9548
call fcn.10010482
movsx eax, byte [eax]
push eax
call fcn.1005300a
pop ecx
test eax, eax
je 0x1003018d
push dword [ebp - 0x18]
mov ecx, 0x10af9548
call fcn.10010482
movsx esi, byte [eax]
push dword [ebp - 0x18]
mov ecx, 0x10af950c
call fcn.10010482
movsx eax, byte [eax]
cmp esi, eax
je 0x1003018d
mov byte [ebp - 0xd], 0
jmp 0x100301c8
push dword [ebp - 0x18]
mov ecx, 0x10af9548
call fcn.10010482
movsx eax, byte [eax]
cmp eax, 0x3f
jne 0x100301c3
push dword [ebp - 0x18]
mov ecx, 0x10af950c
call fcn.10010482
movsx eax, byte [eax]
movzx eax, byte [eax + 0x1090bb8f]
test eax, eax
je 0x100301c3
mov byte [ebp - 0xd], 0
jmp 0x100301c8
jmp 0x10030119
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x100301ec
push 0x10008344
call fcn.10050eec
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.1000e793
jmp 0x1002fefc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.1000e793
push 0x10008340
call fcn.10050eec
pop ecx
jmp 0x1002fefc
lea eax, [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1003022c
push 0x1c27
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x10030234
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x1003025c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
push 1
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 0x2b6b
push 0x79ec
call fcn.1001d10b
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret