Function at 0x10001210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x1b8
mov eax, esp
mov dword [eax], 0xd95af9
mov eax, dword [sym.imp.KERNEL32.dll_HeapLock]
call eax
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x1a8]
mov dword [ecx + 4], edx
mov dword [ecx], 0xf15448
mov ecx, dword [sym.imp.GDI32.dll_GetViewportOrgEx]
mov dword [esp + 0x94], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xa0]
mov dword [ecx + 8], edx
mov dword [ecx + 4], edx
lea edx, [esp + 0xd8]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov dword [esp + 0x90], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov edx, 0x18
lea esi, [esp + 0x188]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], edx
call fcn.10006150
mov eax, esp
lea ecx, [esp + 0x188]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call eax
sub esp, 4
mov dword [esp + 0xbc], 0
jmp 0x100014e0
mov eax, dword [sym.imp.USER32.dll_ReleaseCapture]
call eax
mov dword [esp + 0x80], eax
mov eax, esp
mov dword [eax + 0x20], 0xd2b
mov dword [eax + 0x1c], 0xf82
mov dword [eax + 0x18], 0xf82
mov dword [eax + 0x14], 0xc24
mov dword [eax + 0x10], 0xf82
mov dword [eax + 0xc], 0xd2b
mov dword [eax + 8], 0xd2b
mov dword [eax + 4], 0xd2b
mov dword [eax], 0x970477
mov eax, dword [sym.imp.GDI32.dll_Arc]
call eax
sub esp, 0x24
mov dword [esp + 0x7c], eax
jmp 0x10001555
mov dword [esp + 0xb8], 0xa55
mov eax, esp
lea ecx, [esp + 0xb8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], 0x3f62cc
mov eax, dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
call eax
sub esp, 0x14
mov ecx, esp
mov dword [ecx], 0x5d762f
mov ecx, dword [sym.imp.GDI32.dll_GetStretchBltMode]
mov dword [esp + 0x78], eax
call ecx
sub esp, 4
mov ecx, 0x1bbd1d
mov dword [esp + 0x1a4], ecx
mov ecx, esp
lea edx, [esp + 0x1a4]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x79e
mov dword [ecx + 4], 0xdee
mov dword [ecx], 0xc51324
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOpenUserClassesRoot]
mov dword [esp + 0x74], eax
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, 0x18
lea esi, [esp + 0xc0]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], edx
call fcn.10006150
mov eax, esp
lea ecx, [esp + 0xc0]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call eax
sub esp, 4
mov dword [esp + 0x184], 0
jmp 0x100014f6
mov eax, dword [esp + 0xbc]
add eax, 1
mov dword [esp + 0xbc], eax
jmp 0x100014e0
mov eax, esp
mov dword [eax], 0x906
mov eax, dword [sym.imp.USER32.dll_LockSetForegroundWindow]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x53dbbd
mov dword [ecx], 0xfc67fe
mov ecx, dword [sym.imp.USER32.dll_ValidateRgn]
mov dword [esp + 0x64], eax
call ecx
sub esp, 8
mov dword [esp + 0x60], eax
jmp 0x10001640
mov eax, 0x47fbc7
mov dword [esp + 0x98], eax
mov dword [esp + 0xb4], 0x302
mov eax, esp
lea ecx, [esp + 0xb4]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x98]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0xb2a
mov dword [eax + 4], 0xbd9
mov dword [eax], 0x1d3
mov eax, dword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
call eax
sub esp, 0x14
mov dword [esp + 0x5c], eax
mov eax, esp
mov dword [eax + 8], 0xfa
mov dword [eax + 4], 0xfeb
mov dword [eax], 0x636ab1
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
call eax
sub esp, 0xc
mov dword [esp + 0x58], eax
jmp 0x100015f1
cmp dword [esp + 0xbc], 0x2a
jne 0x1000133e
jmp 0x10001667
cmp dword [esp + 0x184], 0x3e3
setne al
mov byte [esp + 0x57], al
mov al, byte [esp + 0x57]
test al, 1
jne 0x10001515
jmp 0x10001595
mov eax, 0xc
mov ecx, dword [esp + 0x184]
mov dword [esp + 0x50], eax
mov eax, ecx
xor edx, edx
mov ecx, dword [esp + 0x50]
div ecx
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x4c]
sub eax, 2
mov dword [esp + 0x48], eax
je 0x100012dd
jmp 0x10001546
mov eax, dword [esp + 0x4c]
sub eax, 9
mov dword [esp + 0x44], eax
jne 0x1000157b
jmp 0x10001555
mov dword [esp + 0x9c], 0x373
mov eax, esp
lea ecx, [esp + 0x9c]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
call eax
sub esp, 4
mov dword [esp + 0x40], eax
jmp 0x1000157b
jmp 0x1000157d
mov eax, dword [esp + 0x184]
add eax, 1
mov dword [esp + 0x184], eax
jmp 0x100014f6
mov eax, esp
mov dword [eax + 4], 0xdd7408
mov dword [eax], 0xbad1f1
mov eax, dword [sym.imp.GDI32.dll_EqualRgn]
call eax
sub esp, 8
mov ecx, dword [esp + 0xbc]
mov edx, 0xcc29786d
mov dword [esp + 0x3c], eax
mov eax, ecx
mul edx
shr edx, 8
imul eax, edx, 0x141
sub ecx, eax
mov eax, ecx
sub eax, 0x4a
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
je 0x10001468
jmp 0x100015e2
mov eax, dword [esp + 0x38]
sub eax, 6
mov dword [esp + 0x30], eax
jne 0x10001617
jmp 0x100015f1
mov eax, esp
mov dword [eax + 8], 0x674
mov dword [eax + 4], str.Htb5XgE_1__CqBc
mov dword [eax], 0xe9d4b0
mov eax, dword [sym.imp.ADVAPI32.dll_RegRestoreKeyA]
call eax
sub esp, 0xc
mov dword [esp + 0x2c], eax
jmp 0x10001657
mov dword [esp + 0xb0], 0
jmp 0x10001624
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
cmp eax, 0xa
jne 0x1000142f
jmp 0x10001655
mov eax, dword [esp + 0xb0]
add eax, 1
mov dword [esp + 0xb0], eax
jmp 0x10001624
jmp 0x10001657
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 0x24], eax
jmp 0x10001417
lea esp, [ebp - 4]
pop esi
pop ebp
ret