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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf8
mov esi, esp
mov eax, 4
mov dword [esi + 0xa4], eax
call fcn.100f06a0
mov eax, esp
mov ecx, 0x10
mov dword [esi + 0xa0], eax
mov eax, ecx
call fcn.100f06a0
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, 8
mov dword [esi + 0x9c], eax
mov eax, ecx
call fcn.100f06a0
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, 0x14
mov dword [esi + 0x98], eax
mov eax, ecx
call fcn.100f06a0
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0xa4]
mov dword [esi + 0x94], eax
mov eax, ecx
call fcn.100f06a0
mov eax, esp
sub esp, 4
mov ecx, esp
lea edx, [esi + 0xe0]
mov dword [ecx], edx
mov ecx, dword [sym.imp.USER32.dll_CreateIconIndirect]
mov dword [esi + 0x90], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x75f
mov dword [ecx], 0x7935a6
mov ecx, dword [sym.imp.GDI32.dll_ResizePalette]
mov dword [esi + 0x8c], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esi + 0xd8]
mov dword [ecx + 4], edx
mov dword [ecx], 0xd1f7a4
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esi + 0x88], eax
call ecx
mov dword [esi + 0xd4], 0x225
mov ecx, dword [esi + 0xd0]
mov dword [esi + 0xc8], ecx
sub esp, 0x14
mov ecx, esp
lea edx, [esi + 0xd4]
mov dword [ecx + 0x10], edx
mov edx, dword [esi + 0xc8]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0x225
mov dword [ecx + 4], 0x1f
mov dword [ecx], 0x31e43e
mov ecx, dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
mov dword [esi + 0x84], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xccd31a
mov ecx, dword [sym.imp.GDI32.dll_BeginPath]
mov dword [esi + 0x80], eax
call ecx
mov dword [esi + 0xc4], 0
mov dword [esi + 0x7c], eax
jmp 0x10001551
sub esp, 0xc
mov eax, esp
mov dword [eax + 8], 0xd6e
mov dword [eax + 4], 0xd2129
mov dword [eax], 0x9dd2aa
mov eax, dword [sym.imp.USER32.dll_InvalidateRgn]
call eax
lea ecx, [esi + 0xa8]
xor edx, edx
mov edi, 0x14
mov ebx, ecx
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esi + 0x78], eax
mov dword [esi + 0x74], ecx
mov dword [esi + 0x70], edx
mov dword [esi + 0x6c], edi
call fcn.100f06d0
add esp, 0xc
mov eax, dword [esi + 0xa0]
mov dword [eax], 0x5c8
mov ecx, dword [esi + 0x74]
sub esp, 0x10
mov edx, esp
mov dword [edx + 0xc], eax
mov dword [edx + 8], ecx
mov dword [edx + 4], 0x722
mov dword [edx], 0xc744e2
mov ecx, dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
call ecx
mov dword [esi + 0x68], eax
jmp 0x10001505
mov eax, dword [esi + 0x90]
mov dword [eax], 0
jmp 0x1000153a
sub esp, 0xc
mov eax, esp
mov ecx, dword [esi + 0x9c]
mov dword [eax], ecx
mov dword [eax + 8], 0x147
mov dword [eax + 4], 0x803
mov eax, dword [sym.imp.USER32.dll_AdjustWindowRect]
call eax
mov ecx, dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov dword [esi + 0x64], eax
call ecx
mov dword [esi + 0x60], eax
jmp 0x10001619
mov eax, dword [esi + 0x90]
cmp dword [eax], 0xa
jne 0x1000177c
jmp 0x100017f2
cmp dword [esi + 0xc4], 0x103
je 0x1000181f
sub esp, 4
mov eax, esp
mov dword [eax], 0xe99619
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0xc49
mov dword [ecx], 0x28a1f
mov ecx, dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
mov dword [esi + 0x5c], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 8], 0xdf7acf
mov dword [ecx + 4], 0x98d4e9
mov dword [ecx], 0x32e
mov ecx, dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [esi + 0x58], eax
call ecx
mov dword [esi + 0xc0], 0
mov dword [esi + 0x54], eax
cmp dword [esi + 0xc0], 0x1eb
setne al
mov byte [esi + 0x53], al
mov al, byte [esi + 0x53]
test al, 1
jne 0x100015da
jmp 0x1000162e
mov eax, dword [esi + 0xc0]
mov ecx, 0xaaaaaaab
mov dword [esi + 0x4c], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esi + 0x4c]
sub ecx, eax
mov eax, ecx
sub eax, 6
mov dword [esi + 0x48], ecx
mov dword [esi + 0x44], eax
je 0x1000146a
jmp 0x10001608
mov eax, dword [esi + 0x48]
sub eax, 9
mov dword [esi + 0x40], eax
je 0x10001505
jmp 0x10001619
jmp 0x1000161b
mov eax, dword [esi + 0xc0]
add eax, 1
mov dword [esi + 0xc0], eax
jmp 0x100015c1
mov eax, dword [esi + 0xc4]
mov ecx, 0xcc29786d
mov dword [esi + 0x3c], eax
mul ecx
shr edx, 8
imul eax, edx, 0x141
mov ecx, dword [esi + 0x3c]
sub ecx, eax
mov eax, ecx
sub eax, 8
mov dword [esi + 0x38], ecx
mov dword [esi + 0x34], eax
je 0x10001707
jmp 0x1000165f
mov eax, dword [esi + 0x38]
sub eax, 0x3d
mov dword [esi + 0x30], eax
jne 0x100014f7
jmp 0x10001670
sub esp, 4
mov eax, esp
mov ecx, dword [esi + 0x98]
mov dword [eax], ecx
mov eax, dword [sym.imp.ADVAPI32.dll_AllocateLocallyUniqueId]
call eax
sub esp, 0x24
mov ecx, esp
mov dword [ecx + 0x20], 0x600
mov dword [ecx + 0x1c], 0x8c89df
mov dword [ecx + 0x18], 0x600
mov dword [ecx + 0x14], 0xeb9
mov dword [ecx + 0x10], 0x87e
mov dword [ecx + 0xc], 0xf02a6
mov dword [ecx + 8], 0x87e
mov dword [ecx + 4], 0x87e
mov dword [ecx], 0xa71142
mov ecx, dword [sym.imp.USER32.dll_DrawIconEx]
mov dword [esi + 0x2c], eax
call ecx
sub esp, 0x14
mov ecx, esp
mov dword [ecx + 0x10], 0xa4f
mov dword [ecx + 0xc], 0xa6c
mov dword [ecx + 8], 0xa4f
mov dword [ecx + 4], 0xbba
mov dword [ecx], 0xc1d1e3
mov ecx, dword [sym.imp.KERNEL32.dll_LockFile]
mov dword [esi + 0x28], eax
call ecx
mov dword [esi + 0x24], eax
sub esp, 0x18
mov eax, esp
mov ecx, dword [esi + 0x94]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], 0x404
mov dword [eax + 0xc], 0xb0e
mov dword [eax + 8], 0xa30
mov dword [eax + 4], 0xa30
mov dword [eax], 0xcd3996
mov eax, dword [sym.imp.KERNEL32.dll_LockFileEx]
call eax
mov dword [esi + 0x20], eax
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0xe8c
mov dword [eax], 0x79e
mov eax, dword [sym.imp.ole32.dll_CoCancelCall]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x3a7404
mov dword [ecx], 0x3a7404
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOverridePredefKey]
mov dword [esi + 0x1c], eax
call ecx
mov dword [esi + 0x18], eax
jmp 0x100017f4
sub esp, 4
mov eax, esp
mov dword [eax], 0xa415c8
mov eax, dword [sym.imp.GDI32.dll_StartPage]
call eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 8], 0x67e
mov dword [ecx + 4], 0x707a82
mov dword [ecx], 0x7e03d3
mov ecx, dword [sym.imp.USER32.dll_GetUpdateRgn]
mov dword [esi + 0x14], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x14
mov dword [ecx], 0xffad6c
mov ecx, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov dword [esi + 0x10], eax
call ecx
mov ecx, dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [esi + 0xc], eax
call ecx
mov dword [esi + 8], eax
mov eax, dword [esi + 0x90]
mov ecx, dword [eax]
add ecx, 1
mov dword [eax], ecx
jmp 0x1000153a
jmp 0x100017f4
sub esp, 4
mov eax, esp
mov dword [eax], 0x35b
mov eax, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
call eax
mov dword [esi + 4], eax
mov eax, dword [esi + 0xc4]
add eax, 1
mov dword [esi + 0xc4], eax
jmp 0x10001551
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret