Function at 0x4dea40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5475bb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x4dea85
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x9c], eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.004ebaf0
mov esi, dword [ebx + 4]
lea eax, [ebx + 0x2300]
push eax
mov ecx, 0x5887a8
call fcn.004861e0
push 0
movzx eax, ax
push eax
push ecx
mov eax, esp
push 0x40100
push 0x6cf0000
push 0
push ecx
mov dword [eax], 0
lea ecx, [ebx + 0x22e0]
mov eax, esp
push esi
mov dword [eax], 0x585bbc
call fcn.0047e220
push dword [ebx + 0x22e4]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x4df022
push 0
push dword [ebx + 0x22e4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 4]
lea ecx, [ebx + 0x240]
call fcn.004d6c80
push dword [ebx + 0x244]
call esi
test eax, eax
je 0x4df022
lea eax, [ebx + 0x22e0]
push 0
mov dword [ebx + 0x11cc], eax
mov dword [ebx + 0xde8], eax
push dword [ebx + 0x244]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x94]
mov esi, dword [ebx + 4]
lea eax, [ebx + 0x11f0]
push eax
push 0x589b10
push 0x593dd4
push 0x594af8
call fcn.00411840
add esp, 0x14
movzx eax, ax
lea ecx, [ebx + 0x11d0]
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0x585bbc
push esi
call fcn.004d6f00
push dword [ebx + 0x11d4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebx + 0x2c], eax
call edi
test eax, eax
je 0x4df022
mov eax, dword [ebx + 4]
push 0x80
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0051d400
add esp, 0xc
lea eax, [ebp - 0x90]
push 0x80
push eax
push 0xe001
push dword [0x594b00]
call dword [sym.imp.USER32.dll_LoadStringA]
call fcn.00418770
cmp dword [eax + 0x30], 0
jne 0x4debfe
call fcn.00418770
mov dword [eax + 0x30], str.msctls_statusbar32
call fcn.00418770
push dword [ebp - 0x94]
lea ecx, [ebx + 0x4b68]
push ecx
push eax
push 0x593dd4
push 0x594af8
call fcn.00411840
add esp, 0x14
movzx eax, ax
lea ecx, [ebx + 0x4b48]
push 0
push eax
push 0xe801
push 0
push 0x56000100
lea eax, [ebp - 0x90]
push eax
push 0x585bbc
push dword [ebp - 0x94]
call fcn.004d6f00
push dword [ebx + 0x4b4c]
call edi
test eax, eax
je 0x4df022
mov eax, dword [ebx + 0x4b4c]
mov dword [ebx + 0x28], eax
test eax, eax
je 0x4dec93
mov dword [ebp - 0x98], eax
lea ecx, [ebx + 0x228]
mov eax, 0x10
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x98]
push eax
call fcn.004acce0
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], 0
call fcn.004dc9b0
push 0
push 0x85
mov byte [ebx + 0x21e0], 1
call fcn.00404930
add esp, 8
test eax, eax
je 0x4decce
push 0x85
push eax
lea ecx, [ebp - 0x9c]
call fcn.00405150
push dword [ebp - 0x94]
mov esi, dword [ebx + 4]
lea eax, [ebx + 0x2134]
mov dword [eax + 0x24], esi
add eax, 0x20
push eax
push 0x5899d8
push 0x593dd4
push 0x594af8
call fcn.00411840
mov edx, dword [ebp - 0x9c]
add esp, 0x14
movzx eax, ax
test edx, edx
mov ecx, edx
mov dword [ebp - 0x94], 0
cmove ecx, dword [ebp - 0x94]
push 0
push eax
push 0
push 0x80
push 0x86cf0000
push ecx
push 0x585bbc
push esi
lea ecx, [ebx + 0x2134]
call fcn.004d6f00
push 0
push ecx
mov eax, esp
push 0
push 0x56800000
push 0
push ecx
mov dword [eax], 0
lea ecx, [ebx + 0x1928]
mov eax, esp
mov dword [eax], 0x585bbc
push dword [ebx + 0x2138]
call fcn.004d6e40
push dword [ebx + 0x192c]
call edi
test eax, eax
je 0x4df022
push dword [ebx + 0x192c]
lea ecx, [ebx + 0x2134]
call fcn.004e86c0
push 0x84
lea ecx, [ebp - 0x9c]
mov byte [ebx + 0x212c], 1
call fcn.004197f0
push dword [ebp - 0x94]
mov esi, dword [ebx + 4]
lea eax, [ebx + 0x2080]
mov dword [eax + 0x24], esi
add eax, 0x20
push eax
push 0x5899d8
push 0x593dd4
push 0x594af8
call fcn.00411840
mov edx, dword [ebp - 0x9c]
add esp, 0x14
movzx eax, ax
test edx, edx
mov ecx, edx
mov dword [ebp - 0x94], 0
cmove ecx, dword [ebp - 0x94]
push 0
push eax
push 0
push 0x80
push 0x86cf0000
push ecx
push 0x585bbc
push esi
lea ecx, [ebx + 0x2080]
call fcn.004d6f00
push 0
push ecx
mov eax, esp
push 0
push 0x56800000
push 0
push ecx
mov dword [eax], 0
lea ecx, [ebx + 0x1590]
mov eax, esp
mov dword [eax], 0x585bbc
push dword [ebx + 0x2084]
call fcn.004d6ea0
push dword [ebx + 0x1594]
call edi
test eax, eax
je 0x4df022
push dword [ebx + 0x1594]
lea ecx, [ebx + 0x2080]
call fcn.004e86c0
push 0x88
lea ecx, [ebp - 0x9c]
mov byte [ebx + 0x2294], 1
call fcn.004197f0
push 0
push 0
push 0
push 0x86cf0000
push dword [ebp - 0x9c]
lea ecx, [ebx + 0x21e8]
push 0x585bbc
push dword [ebx + 4]
call fcn.004d6dd0
push 0
push ecx
mov eax, esp
push 0
push 0x56800000
push 0
push ecx
mov dword [eax], 0
lea ecx, [ebx + 0x1cc0]
mov eax, esp
mov dword [eax], 0x585bbc
push dword [ebx + 0x21ec]
call fcn.004d6e40
push dword [ebx + 0x1cc4]
call edi
test eax, eax
je 0x4df022
push dword [ebx + 0x1cc4]
lea ecx, [ebx + 0x21e8]
call fcn.004e86c0
push 0xc8
push 0x96
push ecx
mov dword [esp], 0
lea eax, [ebx + 0x2134]
push 0
push 0
push eax
mov ecx, ebx
call fcn.004cf960
push 2
push dword [ebx + 0x2138]
lea ecx, [ebx + 0x21e8]
call fcn.004d8340
push 0
push dword [ebx + 0x2138]
lea ecx, [ebx + 0x2080]
call fcn.004d8340
push 1
mov ecx, ebx
call fcn.004ea7c0
lea ecx, [ebx + 0x1590]
call fcn.004c8760
lea ecx, [ebx + 0x1928]
call fcn.004c8200
lea ecx, [ebx + 0x1cc0]
call fcn.004c84a0
push 0
push dword [ebx + 4]
lea ecx, [ebx + 0x26c8]
call fcn.004d6bd0
push dword [ebx + 0x26cc]
call edi
test eax, eax
je 0x4df022
mov eax, dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x26cc]
mov dword [ebx + 0x2a90], eax
call esi
push 0
push dword [ebx + 4]
lea ecx, [ebx + 0x2a98]
call fcn.004d6d20
push dword [ebx + 0x2a9c]
call edi
test eax, eax
je 0x4df022
mov eax, dword [ebx + 4]
push 0
push dword [ebx + 0x2a9c]
mov dword [ebx + 0x2e60], eax
call esi
push 0xd8
push dword [0x594b00]
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [ebx + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x5940f8
call fcn.004182d0
mov esi, eax
lea ecx, [ebx + 0x21c]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], ecx
push eax
lea ecx, [esi + 4]
call fcn.004c59c0
lea ecx, [ebx + 0x220]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], ecx
push eax
lea ecx, [esi + 0x10]
call fcn.004c59c0
xor edi, edi
jmp 0x4df025
or edi, 0xffffffff
mov esi, dword [ebp - 0x9c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4df04a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret 0x10