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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xc8
lea eax, [esp + 0x9c]
mov dword [esp + 0x9c], 0
mov ecx, esp
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], 0xe73
mov dword [ecx + 4], 0xe73
mov dword [ecx], 0xbb8892
mov eax, dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
call eax
sub esp, 0x10
mov ecx, dword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov dword [esp + 0x78], eax
call ecx
mov ecx, esp
mov dword [ecx], 0xc5629e
mov ecx, dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov dword [esp + 0x74], eax
call ecx
sub esp, 4
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x80]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], ecx
xor eax, eax
mov dword [esp + 0x64], eax
jmp 0x100014bc
mov eax, dword [esp + 0x60]
sub eax, 0xb
mov dword [esp + 0x5c], eax
je 0x1000157d
jmp 0x1000143b
mov eax, dword [esp + 0x60]
sub eax, 0x5b
mov dword [esp + 0x58], eax
je 0x1000152d
jmp 0x1000144e
mov eax, dword [esp + 0x60]
add eax, 1
cmp eax, 0x59
mov dword [esp + 0x64], eax
je 0x10001622
jmp 0x100014bc
mov eax, dword [sym.imp.ole32.dll_OleUninitialize]
call eax
xor eax, eax
mov ecx, 0x1c
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
call fcn.1026e070
mov eax, esp
lea ecx, [esp + 0x80]
mov dword [eax + 4], ecx
mov dword [eax], 0x4a372e
mov eax, dword [sym.imp.KERNEL32.dll_SetCommState]
call eax
sub esp, 8
mov dword [esp + 0x4c], eax
jmp 0x100014fe
mov eax, dword [esp + 0x64]
mov ecx, esp
mov dword [ecx], 0xefe
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcessVersion]
mov dword [esp + 0x60], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x44]
mov ecx, 0xc
mov dword [esp + 0x40], eax
xor edx, edx
div ecx
cmp edx, 5
je 0x10001468
mov eax, dword [esp + 0x40]
add eax, 1
cmp eax, 0x22e
sete cl
mov dword [esp + 0x3c], eax
mov byte [esp + 0x3b], cl
mov al, byte [esp + 0x3b]
test al, 1
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x44], ecx
jne 0x10001428
jmp 0x100014e1
mov eax, esp
mov dword [eax + 0xc], 0x99e
mov dword [eax + 8], 5
mov dword [eax + 4], 0xc4b
mov dword [eax], 0x523120
mov eax, dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
call eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 8], 0x50a
mov dword [ecx + 4], 0x6e4bed
mov dword [ecx], 0xce9982
mov ecx, dword [sym.imp.USER32.dll_SetWindowRgn]
mov dword [esp + 0x34], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x30], eax
mov eax, esp
mov dword [eax], 0x60
mov eax, dword [sym.imp.KERNEL32.dll_GetStdHandle]
call eax
sub esp, 4
mov ecx, 0xfb658a
mov dword [esp + 0x7c], ecx
mov ecx, esp
lea edx, [esp + 0x7c]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x18], 0x1f9
mov dword [ecx + 0x14], 0xc76
mov dword [ecx + 0x10], 0x1f9
mov dword [ecx + 8], 0xf55a1f
mov dword [ecx + 4], 0xfb658a
mov dword [ecx], 0x2eb011
mov ecx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 0x1c
xor ecx, ecx
mov edx, 0x24
mov esi, dword [esp + 0x68]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x24
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
call fcn.1026e070
mov eax, esp
lea ecx, [esp + 0xa0]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call eax
sub esp, 4
jmp 0x1000144e
lea esp, [ebp - 4]
pop esi
pop ebp
ret