Function at 0x100012d0
Capabilities:
Identify system language via api
Resolve function by parsing pe exports
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x158
mov eax, esp
mov dword [eax + 4], 0x4d5bcf
mov dword [eax], 0x9051af
mov eax, dword [sym.imp.GDI32.dll_InvertRgn]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x238
mov dword [ecx], 0xd82
mov ecx, dword [sym.imp.KERNEL32.dll_IsValidLanguageGroup]
mov dword [esp + 0xdc], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x5d175e
mov ecx, dword [sym.imp.USER32.dll_ShowCaret]
mov dword [esp + 0xd8], eax
call ecx
sub esp, 4
mov dword [esp + 0x150], 0x399
mov ecx, esp
lea edx, [esp + 0x150]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x399
mov dword [ecx], 0x6e4bcd
mov ecx, dword [sym.imp.KERNEL32.dll_GetTapePosition]
mov dword [esp + 0xd4], eax
call ecx
sub esp, 0x14
xor ecx, ecx
mov edx, 0x3c
lea esi, [esp + 0x110]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x3c
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xc8], edx
call fcn.10237440
mov eax, esp
lea ecx, [esp + 0x110]
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x6cc
mov dword [eax], 0x6fc870
mov eax, dword [sym.imp.USER32.dll_GetScrollBarInfo]
call eax
sub esp, 0xc
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov dword [esp + 0xc4], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetVersion]
mov word [esp + 0xc2], ax
call ecx
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
mov dword [esp + 0xbc], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xe0]
lea esi, [esp + 0xf8]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], edx
mov dword [esp + 0xac], ecx
jmp 0x10001547
xor eax, eax
mov ecx, 0x14
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ecx
call fcn.10237440
mov eax, esp
lea ecx, [esp + 0xf8]
mov dword [eax], ecx
mov eax, dword [sym.imp.USER32.dll_GetCursorInfo]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x2f20dc
mov ecx, dword [sym.imp.GDI32.dll_UpdateColors]
mov dword [esp + 0xa0], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, 0x14
mov esi, dword [esp + 0xb0]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], edx
call fcn.10237440
mov eax, esp
mov ecx, dword [esp + 0xb0]
mov dword [eax], ecx
mov dword [eax + 4], 0xc3b
mov eax, dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
call eax
sub esp, 8
mov dword [esp + 0x90], eax
jmp 0x10001806
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, esp
mov dword [eax + 4], 0x383
mov dword [eax], 0x48c1d3
mov eax, dword [sym.imp.KERNEL32.dll_HeapCompact]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x2f7496
mov dword [ecx], 0x7d15e3
mov ecx, dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 8
mov dword [esp + 0x88], eax
jmp 0x10001435
mov eax, dword [esp + 0xac]
mov ecx, esp
mov dword [ecx], 0x180042
mov ecx, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [esp + 0x84], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 0x10], 0xb6e42c
mov dword [ecx + 0xc], 0x8a6
mov dword [ecx + 8], 0x8a6
mov dword [ecx + 4], 0x7d4
mov dword [ecx], 0x8a6
mov ecx, dword [sym.imp.USER32.dll_mouse_event]
mov dword [esp + 0x80], eax
call ecx
sub esp, 0x14
mov eax, esp
mov dword [eax], 0xad017
mov eax, dword [sym.imp.GDI32.dll_DeleteObject]
call eax
sub esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
mov dword [esp + 0x7c], eax
call ecx
xor ecx, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ecx
jmp 0x1000163d
mov eax, dword [esp + 0x70]
add eax, 1
cmp eax, 0x96
mov dword [esp + 0x74], eax
jne 0x1000163d
mov eax, esp
mov dword [eax + 0x10], 0x292
mov dword [eax + 0xc], 0xcce
mov dword [eax + 8], 0xcce
mov dword [eax + 4], 0xcce
mov dword [eax], 0x3bf9d6
mov eax, dword [sym.imp.USER32.dll_SetScrollRange]
call eax
sub esp, 0x14
mov ecx, dword [esp + 0x84]
sub ecx, 5
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
je 0x10001435
jmp 0x10001624
mov eax, dword [esp + 0x84]
sub eax, 0x47
mov dword [esp + 0x64], eax
je 0x10001501
jmp 0x100016db
mov eax, dword [esp + 0x74]
mov ecx, 0xcccccccd
mov dword [esp + 0x70], eax
mul ecx
shr edx, 4
imul eax, edx, 0x14
mov ecx, dword [esp + 0x70]
sub ecx, eax
mov eax, ecx
sub eax, 0xa
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
je 0x100016a9
jmp 0x10001669
mov eax, dword [esp + 0x60]
sub eax, 6
mov dword [esp + 0x58], eax
jne 0x100015c8
jmp 0x1000167c
mov eax, esp
mov dword [eax], 0xecbf21
mov eax, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xeb9688
mov ecx, dword [sym.imp.KERNEL32.dll_HeapLock]
mov dword [esp + 0x54], eax
call ecx
sub esp, 4
mov dword [esp + 0x50], eax
mov eax, esp
mov dword [eax], 0x58
mov eax, dword [sym.imp.SHLWAPI.dll_PathGetCharTypeA]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xb8f0d0
mov ecx, dword [sym.imp.GDI32.dll_WidenPath]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 4
mov dword [esp + 0x48], eax
jmp 0x100015c8
mov eax, esp
mov dword [eax + 4], 0x386113
mov dword [eax], 0x386113
mov eax, dword [sym.imp.GDI32.dll_EqualRgn]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x386113
mov dword [ecx], 0x386113
mov ecx, dword [sym.imp.GDI32.dll_EqualRgn]
mov dword [esp + 0x44], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x386113
mov dword [ecx], 0x386113
mov ecx, dword [sym.imp.GDI32.dll_EqualRgn]
mov dword [esp + 0x40], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x386113
mov dword [ecx], 0x386113
mov ecx, dword [sym.imp.GDI32.dll_EqualRgn]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x386113
mov dword [ecx], 0x386113
mov ecx, dword [sym.imp.GDI32.dll_EqualRgn]
mov dword [esp + 0x38], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x386113
mov dword [ecx], 0x386113
mov ecx, dword [sym.imp.GDI32.dll_EqualRgn]
mov dword [esp + 0x34], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x386113
mov dword [ecx], 0x386113
mov ecx, dword [sym.imp.GDI32.dll_EqualRgn]
mov dword [esp + 0x30], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x386113
mov dword [ecx], 0x386113
mov ecx, dword [sym.imp.GDI32.dll_EqualRgn]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x386113
mov dword [ecx], 0x386113
mov ecx, dword [sym.imp.GDI32.dll_EqualRgn]
mov dword [esp + 0x28], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x386113
mov dword [ecx], 0x386113
mov ecx, dword [sym.imp.GDI32.dll_EqualRgn]
mov dword [esp + 0x24], eax
call ecx
sub esp, 8
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x84]
add eax, 1
mov ecx, esp
mov dword [ecx + 8], 0x976
mov dword [ecx + 4], 0xa1302b
mov dword [ecx], 0x30fb40
mov ecx, dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 0xc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xd5
mov dword [esp + 0xac], eax
je 0x100014fb
jmp 0x10001547