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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov esi, esp
mov eax, 4
mov dword [esi + 0xb4], eax
call fcn.1012d430
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0xb0], eax
mov eax, ecx
call fcn.1012d430
mov eax, esp
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0xac], eax
mov eax, ecx
call fcn.1012d430
mov eax, esp
mov ecx, 0x14
mov dword [esi + 0xa8], eax
mov eax, ecx
mov dword [esi + 0xa4], ecx
call fcn.1012d430
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0xa0], eax
mov eax, ecx
call fcn.1012d430
mov eax, esp
mov ecx, 0x10
mov dword [esi + 0x9c], eax
mov eax, ecx
call fcn.1012d430
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, 8
mov dword [esi + 0x98], eax
mov eax, ecx
call fcn.1012d430
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0xa4]
mov dword [esi + 0x94], eax
mov eax, ecx
call fcn.1012d430
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0xb4]
mov dword [esi + 0x90], eax
mov eax, ecx
call fcn.1012d430
mov eax, esp
sub esp, 4
mov ecx, esp
lea edx, [esi + 0xc8]
mov dword [ecx], edx
mov ecx, dword [sym.imp.USER32.dll_CreateIconIndirect]
mov dword [esi + 0x8c], 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 + 0x88], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esi + 0xc0]
mov dword [ecx + 4], edx
mov dword [ecx], 0xd1f7a4
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esi + 0x84], eax
call ecx
mov dword [esi + 0xbc], 0x225
mov ecx, dword [esi + 0xb8]
mov edx, dword [esi + 0xb0]
mov dword [edx], ecx
sub esp, 0x14
mov ecx, esp
lea edi, [esi + 0xbc]
mov dword [ecx + 0x10], edi
mov edi, dword [edx]
mov dword [ecx + 0xc], edi
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 + 0x80], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xccd31a
mov ecx, dword [sym.imp.GDI32.dll_BeginPath]
mov dword [esi + 0x7c], eax
call ecx
mov ecx, dword [esi + 0xac]
mov dword [ecx], 0
mov dword [esi + 0x78], eax
jmp 0x10001614
mov eax, dword [esi + 0xac]
mov ecx, dword [eax]
add ecx, 1
mov dword [eax], ecx
jmp 0x10001614
sub esp, 4
mov eax, esp
mov ecx, dword [esi + 0x94]
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 + 0x74], 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 + 0x70], eax
call ecx
mov dword [esi + 0x6c], eax
jmp 0x1000175c
jmp 0x10001869
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
xor ecx, ecx
mov edx, 0x14
mov edi, dword [esi + 0xa0]
mov ebx, dword [esi + 0xa0]
sub esp, 0xc
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], ecx
mov dword [esi + 0x60], edx
mov dword [esi + 0x5c], ebx
call fcn.1012d460
add esp, 0xc
mov eax, dword [esi + 0x9c]
mov dword [eax], 0x5c8
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 0xc], eax
mov edx, dword [esi + 0x5c]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x722
mov dword [ecx], 0xc744e2
mov ecx, dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
call ecx
mov dword [esi + 0x58], eax
jmp 0x100016c1
mov eax, dword [esi + 0xa8]
cmp dword [eax], 0x1eb
jne 0x10001688
jmp 0x10001714
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0xac]
cmp dword [eax], 0x103
je 0x1000160c
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 + 0x54], eax
call ecx
mov dword [esi + 0x50], eax
sub esp, 0xc
mov eax, esp
mov dword [eax + 8], 0xdf7acf
mov dword [eax + 4], 0x98d4e9
mov dword [eax], 0x32e
mov eax, dword [sym.imp.KERNEL32.dll_HeapCreate]
call eax
mov ecx, dword [esi + 0xa8]
mov dword [ecx], 0
mov dword [esi + 0x4c], eax
jmp 0x100015f5
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
mov edx, 0xaaaaaaab
mov eax, ecx
mul edx
shr edx, 3
imul eax, edx, 0xc
sub ecx, eax
mov eax, ecx
sub eax, 6
mov dword [esi + 0x48], ecx
mov dword [esi + 0x44], eax
je 0x10001561
jmp 0x100016b4
mov eax, dword [esi + 0x48]
sub eax, 9
mov dword [esi + 0x40], eax
jne 0x100016f1
jmp 0x100016c1
sub esp, 0xc
mov eax, esp
mov ecx, dword [esi + 0x98]
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 + 0x3c], eax
call ecx
mov dword [esi + 0x38], eax
jmp 0x100016f3
mov eax, dword [esi + 0xa8]
mov ecx, dword [eax]
add ecx, 1
mov dword [esi + 0x34], ecx
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0x34]
mov dword [eax], ecx
jmp 0x100015f5
mov eax, dword [esi + 0xac]
mov ecx, dword [eax]
mov dword [esi + 0x30], ecx
mov eax, 0xcc29786d
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x2c], eax
mov eax, ecx
mov edx, dword [esi + 0x2c]
mul edx
shr edx, 8
imul eax, edx, 0x141
sub ecx, eax
mov eax, ecx
sub eax, 0x3d
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], eax
je 0x100014c0
jmp 0x1000174f
mov eax, dword [esi + 0x28]
sub eax, 8
mov dword [esi + 0x20], eax
jne 0x100017d4
jmp 0x1000175c
sub esp, 0x18
mov eax, esp
mov ecx, dword [esi + 0x90]
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
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0xe8c
mov dword [ecx], 0x79e
mov ecx, dword [sym.imp.ole32.dll_CoCancelCall]
mov dword [esi + 0x1c], eax
call ecx
mov dword [esi + 0x18], eax
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0x3a7404
mov dword [eax], 0x3a7404
mov eax, dword [sym.imp.ADVAPI32.dll_RegOverridePredefKey]
call eax
mov dword [esi + 0x14], eax
jmp 0x10001869
mov eax, dword [esi + 0x8c]
mov dword [eax], 0
jmp 0x100017e2
mov eax, dword [esi + 0x8c]
cmp dword [eax], 0xa
je 0x1000155c
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 + 0x10], 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 + 0xc], eax
call ecx
mov dword [esi + 8], eax
mov eax, dword [sym.imp.USER32.dll_CreatePopupMenu]
call eax
mov dword [esi + 4], eax
mov eax, dword [esi + 0x8c]
mov ecx, dword [eax]
add ecx, 1
mov dword [eax], ecx
jmp 0x100017e2
sub esp, 4
mov eax, esp
mov dword [eax], 0x35b
mov eax, dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
call eax
mov dword [esi], eax
jmp 0x100014ab