Function at 0x4da0a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x583384]
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.00406110
mov ecx, eax
test ecx, ecx
jne 0x4da0e5
push 0x80004005
call fcn.004063a0
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.004e7550
mov esi, dword [ebx + 4]
lea eax, [ebx + 0x2300]
push eax
mov ecx, 0x5815a8
call fcn.00481fb0
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], 0x57ebdc
call fcn.0047adf0
push dword [ebx + 0x22e4]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x4da682
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.004d2860
push dword [ebx + 0x244]
call esi
test eax, eax
je 0x4da682
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 0x582860
push 0x58c7d0
push 0x58d480
call fcn.00412380
add esp, 0x14
movzx eax, ax
lea ecx, [ebx + 0x11d0]
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0x57ebdc
push esi
call fcn.004d2ae0
push dword [ebx + 0x11d4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebx + 0x2c], eax
call edi
test eax, eax
je 0x4da682
mov eax, dword [ebx + 4]
push 0x80
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00517590
add esp, 0xc
lea eax, [ebp - 0x90]
push 0x80
push eax
push 0xe001
push dword [0x58d488]
call dword [sym.imp.USER32.dll_LoadStringA]
call fcn.00418870
cmp dword [eax + 0x30], 0
jne 0x4da25e
call fcn.00418870
mov dword [eax + 0x30], str.msctls_statusbar32
call fcn.00418870
push dword [ebp - 0x94]
lea ecx, [ebx + 0x4b68]
push ecx
push eax
push 0x58c7d0
push 0x58d480
call fcn.00412380
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 0x57ebdc
push dword [ebp - 0x94]
call fcn.004d2ae0
push dword [ebx + 0x4b4c]
call edi
test eax, eax
je 0x4da682
mov eax, dword [ebx + 0x4b4c]
mov dword [ebx + 0x28], eax
test eax, eax
je 0x4da2f3
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.004a8630
push ecx
mov eax, esp
mov ecx, ebx
mov dword [eax], 0
call fcn.004d7f90
push 0
push 0x85
mov byte [ebx + 0x21e0], 1
call fcn.00406330
add esp, 8
test eax, eax
je 0x4da32e
push 0x85
push eax
lea ecx, [ebp - 0x9c]
call fcn.00406b50
push dword [ebp - 0x94]
mov esi, dword [ebx + 4]
lea eax, [ebx + 0x2134]
mov dword [eax + 0x24], esi
add eax, 0x20
push eax
push 0x582728
push 0x58c7d0
push 0x58d480
call fcn.00412380
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 0x57ebdc
push esi
lea ecx, [ebx + 0x2134]
call fcn.004d2ae0
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], 0x57ebdc
push dword [ebx + 0x2138]
call fcn.004d2a20
push dword [ebx + 0x192c]
call edi
test eax, eax
je 0x4da682
push dword [ebx + 0x192c]
lea ecx, [ebx + 0x2134]
call fcn.004e3ff0
push 0x84
lea ecx, [ebp - 0x9c]
mov byte [ebx + 0x212c], 1
call fcn.00419970
push dword [ebp - 0x94]
mov esi, dword [ebx + 4]
lea eax, [ebx + 0x2080]
mov dword [eax + 0x24], esi
add eax, 0x20
push eax
push 0x582728
push 0x58c7d0
push 0x58d480
call fcn.00412380
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 0x57ebdc
push esi
lea ecx, [ebx + 0x2080]
call fcn.004d2ae0
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], 0x57ebdc
push dword [ebx + 0x2084]
call fcn.004d2a80
push dword [ebx + 0x1594]
call edi
test eax, eax
je 0x4da682
push dword [ebx + 0x1594]
lea ecx, [ebx + 0x2080]
call fcn.004e3ff0
push 0x88
lea ecx, [ebp - 0x9c]
mov byte [ebx + 0x2294], 1
call fcn.00419970
push 0
push 0
push 0
push 0x86cf0000
push dword [ebp - 0x9c]
lea ecx, [ebx + 0x21e8]
push 0x57ebdc
push dword [ebx + 4]
call fcn.004d29b0
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], 0x57ebdc
push dword [ebx + 0x21ec]
call fcn.004d2a20
push dword [ebx + 0x1cc4]
call edi
test eax, eax
je 0x4da682
push dword [ebx + 0x1cc4]
lea ecx, [ebx + 0x21e8]
call fcn.004e3ff0
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.004cb4a0
push 2
push dword [ebx + 0x2138]
lea ecx, [ebx + 0x21e8]
call fcn.004d41a0
push 0
push dword [ebx + 0x2138]
lea ecx, [ebx + 0x2080]
call fcn.004d41a0
push 1
mov ecx, ebx
call fcn.004e60f0
lea ecx, [ebx + 0x1590]
call fcn.004c4430
lea ecx, [ebx + 0x1928]
call fcn.004c3ed0
lea ecx, [ebx + 0x1cc0]
call fcn.004c4170
push 0
push dword [ebx + 4]
lea ecx, [ebx + 0x26c8]
call fcn.004d27b0
push dword [ebx + 0x26cc]
call edi
test eax, eax
je 0x4da682
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.004d2900
push dword [ebx + 0x2a9c]
call edi
test eax, eax
je 0x4da682
mov eax, dword [ebx + 4]
push 0
push dword [ebx + 0x2a9c]
mov dword [ebx + 0x2e60], eax
call esi
push 0xd8
push dword [0x58d488]
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [ebx + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x58caa8
call fcn.004184a0
mov esi, eax
lea ecx, [ebx + 0x21c]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], ecx
push eax
lea ecx, [esi + 4]
call fcn.004c0ca0
lea ecx, [ebx + 0x220]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], ecx
push eax
lea ecx, [esi + 0x10]
call fcn.004c0ca0
xor edi, edi
jmp 0x4da685
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 0x4da6aa
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.00513512
mov esp, ebp
pop ebp
ret 0x10