Function at 0x10001320
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, 0x150
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 + 0xd4], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x5d175e
mov ecx, dword [sym.imp.USER32.dll_ShowCaret]
mov dword [esp + 0xd0], eax
call ecx
sub esp, 4
mov dword [esp + 0x148], 0x399
mov ecx, esp
lea edx, [esp + 0x148]
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 + 0xcc], eax
call ecx
sub esp, 0x14
xor ecx, ecx
mov edx, 0x3c
lea esi, [esp + 0x108]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], edx
call fcn.101de9f0
mov eax, esp
lea ecx, [esp + 0x108]
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 + 0xbc], eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_GetVersion]
mov word [esp + 0xba], ax
call ecx
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
mov dword [esp + 0xb4], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xd8]
lea esi, [esp + 0xf0]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], ecx
jmp 0x100016b3
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 + 0xa0], 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 + 0x9c], 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 + 0x98], 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 + 0x94], 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 + 0x90], 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 + 0x8c], 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 + 0x88], 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 + 0x84], 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 + 0x80], eax
call ecx
sub esp, 8
mov dword [esp + 0x7c], eax
jmp 0x1000184b
xor eax, eax
mov ecx, 0x14
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ecx
call fcn.101de9f0
mov eax, esp
lea ecx, [esp + 0xf0]
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 + 0x70], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, 0x14
mov esi, dword [esp + 0xa8]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edx
call fcn.101de9f0
mov eax, esp
mov ecx, dword [esp + 0xa8]
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 + 0x60], eax
jmp 0x1000184b
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 + 0x5c], eax
call ecx
sub esp, 4
mov dword [esp + 0x58], eax
jmp 0x10001781
mov eax, dword [esp + 0xa4]
mov ecx, esp
mov dword [ecx], 0x180042
mov ecx, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [esp + 0x54], 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 + 0x50], 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 + 0x4c], eax
call ecx
xor ecx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
jmp 0x10001742
mov eax, dword [esp + 0x40]
add eax, 1
cmp eax, 0x96
mov dword [esp + 0x44], eax
je 0x100017b3
mov eax, dword [esp + 0x44]
mov ecx, 0xcccccccd
mov dword [esp + 0x40], eax
mul ecx
shr edx, 4
imul eax, edx, 0x14
mov ecx, dword [esp + 0x40]
sub ecx, eax
mov eax, ecx
sub eax, 6
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
je 0x10001681
jmp 0x10001772
mov eax, dword [esp + 0x3c]
sub eax, 0xa
mov dword [esp + 0x34], eax
jne 0x1000172e
jmp 0x10001781
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 + 0x30], eax
call ecx
sub esp, 4
mov dword [esp + 0x2c], eax
jmp 0x1000172e
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 + 0x54]
sub ecx, 5
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
je 0x100015d0
jmp 0x100017f8
mov eax, dword [esp + 0x54]
sub eax, 0x47
mov dword [esp + 0x20], eax
jne 0x10001485
jmp 0x1000180b
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 + 0x1c], eax
call ecx
sub esp, 8
mov dword [esp + 0x18], eax
jmp 0x100015d0
mov eax, esp
mov dword [eax + 8], 0x976
mov dword [eax + 4], 0xa1302b
mov dword [eax], 0x30fb40
mov eax, dword [sym.imp.GDI32.dll_SelectPalette]
call eax
sub esp, 0xc
mov ecx, dword [esp + 0x54]
add ecx, 1
cmp ecx, 0xd5
mov dword [esp + 0x14], eax
mov dword [esp + 0xa4], ecx
jne 0x100016b3
lea esp, [ebp - 4]
pop esi
pop ebp
ret