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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x44f1a0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi], 0xffffffff
je 0x4015ea
push str.COMCTL32.DLL
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], 0xff
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.InitCommonControlsEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor esi, esi
cmp eax, esi
je 0x4013a8
lea ecx, [esp + 0x2c]
push ecx
call eax
cmp dword [edi], esi
jne 0x4015ea
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
push esi
push esi
push 0x68
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x4015ea
xor eax, eax
mov dword [esp + 0x78], esi
lea edi, [esp + 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x78]
push eax
push 0x18
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4015e0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x80]
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x40102d
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
call ebx
push 0x65
push esi
mov dword [esp + 0x4c], eax
call ebx
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push esi
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x34]
mov edi, str.D10BF16F_0247_4873_B92B_1C5E69ADFF6C
push eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x4015e0
push 7
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 8
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x33
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x24], eax
mov eax, 0x4460e4
lea ecx, [esp + 0x90]
call fcn.004015ff
cmp dword [esp + 0xa8], 8
mov eax, dword [esp + 0x94]
jae 0x4014ba
lea eax, [esp + 0x94]
push esi
push esi
mov dword [esp + 0x18], eax
call ebx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push esi
push esi
add eax, ecx
add eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x2c]
lea eax, [eax + ecx*2]
push eax
push esi
push esi
push 0x80c80080
push dword [esp + 0x34]
push edi
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x401509
push esi
call ebx
push eax
push edi
jmp 0x4015cb
push eax
call fcn.0040472c
push 5
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_SetPropW]
push str.width
push dword [esp + 0x18]
call edi
push dword [esp + 0x1c]
push str.height
push dword [esp + 0x18]
call edi
push dword [esp + 0x14]
push str.bitmap
push dword [esp + 0x18]
call edi
push esi
push str.ok_hot
push dword [esp + 0x18]
call edi
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push esi
push 0xa
push 1
push dword [esp + 0x1c]
call edi
push esi
push 0x2710
push 2
push dword [esp + 0x1c]
call edi
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x60]
mov dword [esp + 0x5c], esi
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x4015b4
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4015c2
push esi
push esi
push esi
lea eax, [esp + 0x68]
push eax
call edi
test eax, eax
jne 0x401590
push esi
call ebx
push eax
push str.D10BF16F_0247_4873_B92B_1C5E69ADFF6C
call dword [sym.imp.USER32.dll_UnregisterClassW]
push esi
push 1
lea esi, [esp + 0x98]
call fcn.004016ab
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042b9ba
mov esp, ebp
pop ebp
ret