Function at 0x445520
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x474a60]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x160], ecx
mov eax, dword [ebp + 0x24]
push eax
push str.DG_PNG
push str._s:_s
lea ecx, [ebp - 0x158]
push ecx
call fcn.0042c838
add esp, 0x10
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x4457a0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x34]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x158]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x30]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
xor eax, dword [ebp + 0x20]
mov dword [ebp - 0x15c], eax
push 0
mov ecx, dword [ebp - 0x50]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
mov edx, dword [ebp + 0x24]
push edx
lea eax, [ebp - 0x158]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp - 0x160]
mov dword [ecx + 0xb0], eax
mov edx, dword [ebp - 0x160]
cmp dword [edx + 0xb0], 0
jne 0x445649
xor eax, eax
jmp 0x445788
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 0xb0]
push ecx
push 0x14
push 0x46
push 0x46
push 0x78
push 0x50000000
push 0x4687e8
push 0x4687f0
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [ebp - 0x160]
mov dword [edx + 0xb4], eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 0xb0]
push ecx
push 0x14
push 0x64
push 0x46
push 8
push 0x50801000
push 0x4687f7
push 0x4687f8
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, dword [ebp - 0x160]
mov dword [edx + 0xb8], eax
push 0x3911
push 0xfffffffffffffff4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 0xb4]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x3912
push 0xfffffffffffffff4
mov edx, dword [ebp - 0x160]
mov eax, dword [edx + 0xb8]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp - 0x160]
push ecx
push 0xffffffffffffffeb
mov edx, dword [ebp - 0x160]
mov eax, dword [edx + 0xb0]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp - 0x160]
mov eax, dword [edx + 0xb0]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x160]
mov edx, dword [ecx + 0xb0]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 0xb0]
push ecx
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
cmp eax, 0xffffffff
je 0x445783
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x44574d
mov eax, 1
mov ecx, dword [ebp - 0x54]
call fcn.0042b91e
mov esp, ebp
pop ebp
ret 0x38