Function at 0x494df0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bfb0
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x542040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x254], ecx
test eax, eax
je 0x49515f
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
je 0x49515f
cmp dword [ebp + 0x10], 0
jle 0x49515f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp word [0x54dcac], 0
jne 0x494f0e
push 0x7f00
push 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x24c], 0x30
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0x494d60
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x24c]
push eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0x10
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], str.ibY
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov word [0x54dcac], ax
test ax, ax
jne 0x494f0e
push 0x10
push str.ibY
push 0x533624
push 0
jmp 0x49516c
push 0xe8
call fcn.004db155
mov ebx, eax
add esp, 4
mov dword [ebp - 0x258], ebx
mov dword [ebx], 0
lea esi, [ebx + 0x28]
mov dword [ebx + 4], 0
push 0xc0
push 0
push esi
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
call fcn.004ded20
add esp, 0xc
push 0xe8
push 0
push ebx
call fcn.004ded20
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebx + 8], eax
mov ecx, esi
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x250]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x254]
mov dword [ebx + 0x18], eax
call fcn.0048f610
push ebx
push 0x494cc0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push dword [ebx + 0x18]
mov edx, 0x533650
sub esp, 0x10
push 0x14cc0000
call fcn.00417d30
mov esi, eax
add esp, 0x24
mov dword [ebp - 0x254], esi
test esi, esi
jne 0x495058
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x495010
add dword [eax + 4], 0xffffffff
jne 0x495010
mov eax, dword [ebx + 4]
test eax, eax
je 0x495009
push eax
call fcn.004eb01a
add esp, 4
mov dword [ebx + 4], 0
mov dword [ebx + 4], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx]
test eax, eax
je 0x49503f
add dword [eax + 4], 0xffffffff
jne 0x49503f
mov eax, dword [ebx]
test eax, eax
je 0x495039
push eax
call fcn.004eb01a
add esp, 4
mov dword [ebx], 0
push 0xe8
push ebx
mov dword [ebx], 0
call fcn.004dadea
add esp, 8
jmp 0x495172
mov ecx, ebx
call fcn.004944f0
push ecx
push dword [ebx + 0x10]
mov ecx, ebx
call fcn.00450ed0
mov edx, dword [ebx]
test edx, edx
je 0x495075
mov edx, dword [edx + 8]
jmp 0x495077
xor edx, edx
mov ecx, dword [ebx + 0x14]
lea eax, [ebp - 0x250]
push eax
push dword [ebx + 0x10]
mov dword [ebx + 0x24], edx
push dword [ebx + 0xc]
mov dword [ebp - 0x250], 0
push dword [ebx + 8]
call fcn.00418c40
add esp, 0x10
test eax, eax
je 0x495120
mov edi, dword [ebp - 0x250]
push ecx
push edi
mov ecx, ebx
call fcn.00450ed0
push ecx
push edi
lea ecx, [ebx + 4]
call fcn.00450ed0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp dword [ebx + 0xe4], eax
setne al
lea eax, [eax*4 + 3]
push eax
push 0
push 0x3c32
push dword [ebx + 0x20]
call esi
push edi
push 0
push 0x3c34
push dword [ebx + 0x20]
call esi
push dword [ebx + 0xc]
lea eax, [ebp - 0x21c]
push dword [ebx + 8]
push 0x53367c
push eax
call fcn.0042b9e0
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebp - 0x254]
jmp 0x49513e
mov eax, dword [ebx]
test eax, eax
je 0x49513e
push dword [eax + 0xc]
push 0
push dword [eax + 8]
call fcn.004ded20
mov eax, dword [ebx]
add esp, 0xc
mov dword [eax], 0
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, esi
jmp 0x495174
push 0x10
push 0x52eebc
push 0x533664
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004dadd7
mov esp, ebp
pop ebp
ret