Function at 0x403de4
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
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
push ebx
push esi
push edi
jne 0x403e12
xor al, al
jmp 0x404094
push str.COMCTL32.DLL
mov dword [0x450530], eax
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 0x403e4b
lea ecx, [esp + 0x2c]
push ecx
call eax
cmp dword [0x450530], 1
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
push esi
push esi
jne 0x403e62
push 0x67
jmp 0x403e64
push 0x66
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x403e0b
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 0x404088
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], 0x4039cd
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.6DFCF9A3_097B_4f01_BC8C_1611038C9E98
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 0x404088
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 0x403f5e
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 0x403fad
push esi
call ebx
push eax
push edi
jmp 0x404073
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
cmp dword [0x450530], 1
jne 0x404013
push esi
push str.check_hot
push dword [esp + 0x18]
call edi
push esi
push 0xa
push esi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetTimer]
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 0x40405c
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 0x40406a
push esi
push esi
push esi
lea eax, [esp + 0x68]
push eax
call edi
test eax, eax
jne 0x404038
push esi
call ebx
push eax
push str.6DFCF9A3_097B_4f01_BC8C_1611038C9E98
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 al, 1
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042b9ba
mov esp, ebp
pop ebp
ret 4