Function at 0x495850
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x583384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0049bd60
mov edi, dword [ebx + 4]
lea eax, [ebp - 0x84]
push 0x80
push 0
push eax
call fcn.00517590
add esp, 0xc
lea eax, [ebp - 0x84]
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 0x4958ba
call fcn.00418870
mov dword [eax + 0x30], str.msctls_statusbar32
call fcn.00418870
push dword [ebp - 0x88]
lea ecx, [ebx + 0x1ce8]
push ecx
push eax
push 0x58c7d0
push 0x58d480
call fcn.00412380
add esp, 0x14
movzx eax, ax
lea ecx, [ebx + 0x1cc8]
push 0
push eax
push 0xe801
push 0
push 0x56000100
lea eax, [ebp - 0x84]
push eax
push 0x57ebdc
push edi
call fcn.004d2ae0
push dword [ebx + 0x1ccc]
mov dword [ebx + 0x28], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x495932
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00513512
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp - 0x88]
mov esi, dword [ebx + 4]
lea eax, [ebx + 0x74]
push eax
push 0x57f7e8
push 0x58c7d0
push 0x58d480
call fcn.00412380
add esp, 0x14
movzx eax, ax
lea ecx, [ebx + 0x54]
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0x57ebdc
push esi
call fcn.004d2ae0
mov esi, dword [ebx + 0x58]
push 0xffffffffffffffff
push 0x54727d
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x34c]
push 0x50
push eax
call fcn.00527459
push eax
call fcn.00407820
push dword [ebp - 0x88]
lea eax, [ebx + 0x33c]
push eax
push 0x57f4a8
push 0x58c7d0
push 0x58d480
call fcn.00412380
add esp, 0x28
movzx eax, ax
lea ecx, [ebx + 0x31c]
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0x57ebdc
push esi
call fcn.004d2ae0
push dword [ebx + 0x320]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x49591c
push 0
push 9
lea ecx, [ebx + 0x31c]
mov dword [ebx + 0x348], 0xe
call fcn.00482f90
push dword [ebp - 0x88]
mov esi, dword [ebx + 0x58]
lea eax, [ebx + 0x2b0]
push eax
push 0x581408
push 0x58c7d0
push 0x58d480
call fcn.00412380
add esp, 0x14
movzx eax, ax
lea ecx, [ebx + 0x290]
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0x57ebdc
push esi
call fcn.004d2ae0
push dword [ebx + 0x294]
call edi
test eax, eax
je 0x49591c
push 0
push 9
lea ecx, [ebx + 0x290]
mov dword [ebx + 0x2bc], 0
call fcn.00482f90
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
lea ecx, [ebx + 0xe84]
mov eax, esp
mov dword [eax], 0
push dword [ebx + 0x320]
call fcn.00491d90
push dword [ebx + 0xe88]
call edi
test eax, eax
je 0x49591c
push dword [ebx + 0xe88]
lea ecx, [ebx + 0x31c]
call fcn.00482ed0
lea ecx, [ebx + 0xe84]
call fcn.004a2ea0
push 0
push ecx
mov eax, esp
push 0
push 0x56000000
push 0
push ecx
mov dword [eax], 0
lea ecx, [ebx + 0xd4]
mov eax, esp
mov dword [eax], 0x57ebdc
push dword [ebx + 0x294]
call fcn.00491f70
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
lea ecx, [ebx + 0xaf4]
mov eax, esp
mov dword [eax], 0
push dword [ebx + 0xd8]
call fcn.00491f10
push dword [ebx + 0xaf8]
call edi
test eax, eax
je 0x49591c
lea ecx, [ebx + 0xaf4]
call fcn.004323a0
push 0
push 0
push 0
push 0
push 0
push ecx
mov eax, esp
lea esi, [ebx + 0x1cf8]
mov ecx, esi
mov dword [eax], 0
push dword [ebx + 4]
call fcn.00491d20
push dword [ebx + 0x1cfc]
call edi
test eax, eax
je 0x49591c
push 0
push dword [ebx + 0x1cfc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0xd8]
lea ecx, [ebx + 0x3a8]
call fcn.00491c70
push dword [ebx + 0x3ac]
call edi
test eax, eax
je 0x49591c
mov ecx, dword [ebx + 0x3ac]
mov eax, dword [ebx + 0xaf8]
mov dword [ebx + 0xae8], esi
mov dword [ebx + 0x100], ecx
lea ecx, [ebx + 0xf8]
mov dword [ebx + 0xfc], eax
call fcn.0042e300
push 1
push 0
lea ecx, [ebx + 0xf8]
call fcn.0041f5e0
push 0
push ecx
mov eax, esp
mov dword [ebx + 0x144], 4
push 0
push 0
push 0
push ecx
mov dword [eax], 0
lea ecx, [ebx + 0x1204]
mov eax, esp
mov dword [eax], 0
push dword [ebx + 0x294]
call fcn.00491eb0
push dword [ebx + 0x1208]
call edi
test eax, eax
je 0x49591c
lea ecx, [ebx + 0x1204]
call fcn.004a3990
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x1208]
call esi
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
lea ecx, [ebx + 0x159c]
mov eax, esp
mov dword [eax], 0
push dword [ebx + 0x294]
call fcn.00491e50
push dword [ebx + 0x15a0]
call edi
test eax, eax
je 0x49591c
lea ecx, [ebx + 0x159c]
call fcn.004a3470
push 0
push dword [ebx + 0x15a0]
call esi
push 0
push ecx
mov eax, esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
lea ecx, [ebx + 0x1930]
mov eax, esp
mov dword [eax], 0
push dword [ebx + 0x294]
call fcn.00491df0
push dword [ebx + 0x1934]
call edi
test eax, eax
je 0x49591c
lea ecx, [ebx + 0x1930]
call fcn.004a2920
push 0
push dword [ebx + 0x1934]
call esi
push 0
lea ecx, [ebx + 0xe84]
call fcn.00511990
push dword [ebx + 0xd8]
lea ecx, [ebx + 0x290]
mov dword [ebx + 0x1cc4], 0x10000
call fcn.00482ed0
push 1
lea esi, [ebx + 0x154]
push 0x82d
mov ecx, esi
call fcn.00483420
push 0
push 0x82e
mov ecx, esi
call fcn.00483420
push 0
push 0x82f
mov ecx, esi
call fcn.00483420
push 0
push 0x830
mov ecx, esi
call fcn.00483420
push 0
push 0x82b
mov ecx, esi
call fcn.00494190
push 0
push 0x82c
mov ecx, esi
call fcn.00494190
mov ecx, dword [ebx + 0x294]
mov eax, dword [ebx + 0x320]
mov dword [ebx + 0x80], ecx
lea ecx, [ebx + 0x78]
mov dword [ebx + 0x7c], eax
call fcn.0042e300
push 1
push 0
lea ecx, [ebx + 0x78]
call fcn.0041f5e0
push 1
push 0xffffffffffffffff
lea ecx, [ebx + 0x78]
mov dword [ebx + 0xc4], 4
call fcn.0041f4d0
push 0xd7
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 + 0x34]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], ecx
push eax
lea ecx, [esi + 4]
call fcn.004c0ca0
lea ecx, [ebx + 0x38]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], ecx
push eax
lea ecx, [esi + 0x10]
call fcn.004c0ca0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00513512
mov esp, ebp
pop ebp
ret 0x10