Function at 0x10001360
Capabilities:
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x188
mov eax, esp
mov dword [eax], 0xbe65aa
mov eax, dword [sym.imp.GDI32.dll_GetROP2]
call eax
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xe0]
lea esi, [esp + 0x160]
lea edi, [esp + 0xa0]
lea ebx, [esp + 0x118]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x150]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ecx
jmp 0x100014e2
mov eax, dword [esp + 0x80]
add eax, 1
cmp eax, 0x5f
mov dword [esp + 0x84], eax
je 0x10001753
jmp 0x100014e2
mov eax, dword [esp + 0x7c]
add eax, 1
cmp eax, 0x1f9
mov dword [esp + 0x78], eax
je 0x100015bb
jmp 0x10001599
xor eax, eax
mov ecx, 0x24
mov edx, dword [esp + 0x90]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x24
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
call fcn.102940a0
mov eax, esp
lea ecx, [esp + 0x160]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
call eax
sub esp, 4
xor eax, eax
mov ecx, 0x30
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x30
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
call fcn.102940a0
mov eax, esp
lea ecx, [esp + 0xe0]
mov dword [eax + 4], ecx
mov dword [eax], 0xa58
mov eax, dword [sym.imp.USER32.dll_GetGUIThreadInfo]
call eax
sub esp, 8
mov dword [esp + 0x64], eax
jmp 0x100013dc
mov dword [esp + 0xdc], 0xe45
mov eax, esp
lea ecx, [esp + 0xdc]
mov dword [eax + 4], ecx
mov dword [eax], 0x7225f8
mov eax, dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleInputEvents]
call eax
sub esp, 8
mov dword [esp + 0x60], eax
jmp 0x100013ff
mov eax, dword [esp + 0x84]
mov dword [esp + 0x15c], 0x4aa
mov ecx, esp
lea edx, [esp + 0x15c]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
mov dword [esp + 0x80], eax
call ecx
sub esp, 8
xor ecx, ecx
mov edx, 0x34
mov esi, dword [esp + 0x88]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x34
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
call fcn.102940a0
mov eax, esp
lea ecx, [esp + 0x118]
mov dword [eax + 4], ecx
mov dword [eax], 0x48a303
mov eax, dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
call eax
sub esp, 8
mov ecx, 0xfb88f7
mov dword [esp + 0x114], ecx
mov ecx, esp
lea edx, [esp + 0x114]
mov dword [ecx + 4], edx
mov dword [ecx], 0x50f
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov dword [esp + 0x50], eax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x78]
mov ecx, 0x11
mov dword [esp + 0x7c], eax
xor edx, edx
div ecx
cmp edx, 6
je 0x100014b2
jmp 0x100013ff
mov eax, dword [esp + 0x80]
sub eax, 0xc
mov dword [esp + 0x48], eax
je 0x1000141c
jmp 0x100015d1
mov eax, dword [esp + 0x80]
sub eax, 0x2d
mov dword [esp + 0x44], eax
je 0x100016d0
jmp 0x100015e7
mov eax, esp
mov dword [eax], 0xce5bfd
mov eax, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xce5bfd
mov ecx, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov dword [esp + 0x40], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xce5bfd
mov ecx, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xce5bfd
mov ecx, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov dword [esp + 0x38], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xce5bfd
mov ecx, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov dword [esp + 0x34], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xce5bfd
mov ecx, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov dword [esp + 0x30], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xce5bfd
mov ecx, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 4
mov dword [esp + 0x28], eax
mov eax, esp
mov dword [eax], 0xce5bfd
mov eax, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xce5bfd
mov ecx, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov dword [esp + 0x24], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xce5bfd
mov ecx, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov dword [esp + 0x20], eax
call ecx
sub esp, 4
mov dword [esp + 0x1c], eax
jmp 0x100013dc
xor eax, eax
mov ecx, 0x3c
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x3c
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
call fcn.102940a0
mov eax, esp
lea ecx, [esp + 0xa0]
mov dword [eax + 8], ecx
mov dword [eax + 4], 0xa5
mov dword [eax], 0x327187
mov eax, dword [sym.imp.USER32.dll_GetScrollBarInfo]
call eax
sub esp, 0xc
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, esp
mov dword [edi + 8], esi
mov dword [edi + 4], edx
mov dword [edi], 0xa4afc6
mov edx, dword [sym.imp.USER32.dll_RealChildWindowFromPoint]
mov dword [esp + 0x10], eax
call edx
sub esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x1000141c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret