Function at 0x100018d4
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, 0x180
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 + 0xc0]
lea esi, [esp + 0x98]
lea edi, [esp + 0xf8]
lea ebx, [esp + 0x138]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x170]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ecx
jmp 0x10001a02
mov eax, dword [esp + 0x78]
mov ecx, esp
mov dword [ecx], 0xce5bfd
mov ecx, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
mov dword [esp + 0x74], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x74]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], ecx
je 0x10001bf7
jmp 0x1000194d
mov eax, dword [esp + 0x6c]
add eax, 1
cmp eax, 0x1f9
mov dword [esp + 0x68], eax
je 0x100019a6
jmp 0x100019e3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x64]
sub edx, 0xc
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edx
je 0x10001b66
jmp 0x100019c5
mov eax, dword [esp + 0x64]
sub eax, 0x2d
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x78], ecx
je 0x10001ae8
jmp 0x1000194d
mov eax, dword [esp + 0x68]
mov ecx, 0x11
mov dword [esp + 0x6c], eax
xor edx, edx
div ecx
cmp edx, 6
je 0x10001ab8
jmp 0x10001988
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x178], 0x4aa
mov ecx, esp
lea edx, [esp + 0x178]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
mov dword [esp + 0x64], eax
call ecx
sub esp, 8
xor ecx, ecx
mov edx, 0x34
mov esi, dword [esp + 0x80]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x34
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
call fcn.10020240
mov eax, esp
lea ecx, [esp + 0x138]
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 + 0xf0], ecx
mov ecx, esp
lea edx, [esp + 0xf0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x50f
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov dword [esp + 0x44], eax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], ecx
jmp 0x100019e3
mov dword [esp + 0xf4], 0xe45
mov eax, esp
lea ecx, [esp + 0xf4]
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 + 0x3c], eax
jmp 0x10001988
xor eax, eax
mov ecx, 0x3c
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x3c
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
call fcn.10020240
mov eax, esp
lea ecx, [esp + 0xf8]
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 + 0x90]
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 + 0x30], eax
call edx
sub esp, 0xc
mov dword [esp + 0x2c], eax
xor eax, eax
mov ecx, 0x24
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x24
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
call fcn.10020240
mov eax, esp
lea ecx, [esp + 0x98]
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 + 0x8c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x30
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call fcn.10020240
mov eax, esp
lea ecx, [esp + 0xc0]
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 + 0x18], eax
mov eax, dword [esp + 0x64]
add eax, 1
cmp eax, 0x5f
sete cl
mov dword [esp + 0x14], eax
mov byte [esp + 0x13], cl
mov al, byte [esp + 0x13]
test al, 1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
jne 0x1000199e
jmp 0x10001a02