Function at 0x439300
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6a14
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x6cc]
test eax, eax
je 0x439691
cmp word [eax], 0
je 0x439691
mov eax, dword [0x4e8ce0]
xorps xmm0, xmm0
push 0
push 0
push 0
mov edx, 0xffffff61
mov dword [ebp - 0x50], 0
xor ecx, ecx
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x54], 0x30
mov dword [ebp - 0x2c], 0x4cf024
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x4c], 0x44e4d0
call fcn.004837a0
add esp, 0xc
mov dword [0x4e8d98], eax
push 0
push 0
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
mov edx, 0xffffff61
xor ecx, ecx
call fcn.004837a0
mov ecx, dword [0x4e8d98]
add esp, 0xc
mov dword [0x4e8d9c], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x34], 0x10
mov dword [ebp - 0x30], 0xd3
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x4393e5
mov ecx, 0x4d6e14
jmp 0x43967d
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x439421
push 0x40
lea ecx, [ebp - 0xd8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x43941b
lea eax, [ebp - 0xd8]
push 0x4d5a30
push eax
call fcn.0049ee91
add esp, 8
test eax, eax
je 0x439421
mov byte [ebp - 0xd], 0
jmp 0x439425
mov byte [ebp - 0xd], 1
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
push 0
push dword [0x4e8ce0]
lea eax, [eax + eax*2]
cdq
and edx, 3
push 0
push 0
lea esi, [edx + eax]
lea eax, [ecx + ecx*2]
sar esi, 2
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp esi, ecx
push eax
movzx eax, byte [ebp - 0xd]
cmovle ecx, esi
push ecx
push SysReAllocStringLen
push SysReAllocStringLen
push 0xcf0000
push dword [ebx + 0x6cc]
shl eax, 7
push 0x4cf024
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4e8ccc], eax
test eax, eax
je 0x439678
push 0x3c
call fcn.0049b5a6
add esp, 4
mov dword [ebp - 0x24], eax
push 1
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00472050
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [ebx + 0x72c], eax
call fcn.00473210
cmp dword [ebx + 0x6d0], 1
jne 0x43952b
push dword [0x4e8ccc]
call dword [sym.imp.USER32.dll_GetMenu]
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
mov esi, eax
push 3
push 0xff79
push esi
call edi
cmp byte [0x4e48b8], 0
jne 0x43952b
push 3
push 0xff81
push esi
call edi
push 3
push 0xff7e
push esi
call edi
push 3
push 0xff7f
push esi
call edi
push 3
push 0xff80
push esi
call edi
push 0
push dword [0x4e8ce0]
push 1
push dword [0x4e8ccc]
push 0
push 0
push 0
push 0
push 0x50a00804
push 0
push 0x4cfa34
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4e8cb4], eax
test eax, eax
je 0x439678
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 0x4d6e44
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x48
mov esi, eax
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xa
call dword [sym.imp.KERNEL32.DLL_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
push esi
push dword [0x4e8cb4]
mov dword [0x4e900c], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [0x4e900c]
push 0x30
push dword [0x4e8cb4]
call esi
push 0
push 0
push 0xc5
push dword [0x4e8cb4]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x4e8ccc]
call esi
push 0
push dword [0x4e8ccc]
call esi
cmp byte [ebp - 0xd], 0
je 0x43961c
push 6
push dword [0x4e8ccc]
call esi
push 0
push 0xffffffffffffffec
push dword [0x4e8ccc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xd4
push dword [0x4e8ce0]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
cmp byte [0x4e8eec], 0
mov dword [0x4e8cb0], eax
je 0x43965b
mov dword [ebx + 0x289], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.004396b0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x4d6e28
push 0
push 0
xorps xmm3, xmm3
mov edx, 0x10000
call fcn.00486cb0
add esp, 8
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret