Function at 0x518dcc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, edx
mov ebx, eax
test byte [ebx + 0x1c], 0x10
jne 0x51903c
mov edx, dword [ebx + 0x2d4]
cmp esi, edx
je 0x51903c
test edx, edx
je 0x518e54
cmp esi, edx
je 0x51903c
mov eax, dword [edx + 0x44]
test eax, eax
je 0x518e46
xor edx, edx
mov dword [eax + 0x118], edx
mov dword [eax + 0x11c], edx
xor edx, edx
mov dword [eax + 0x260], edx
mov dword [eax + 0x264], edx
xor edx, edx
mov dword [eax + 0x208], edx
mov dword [eax + 0x20c], edx
xor edx, edx
mov dword [eax + 0x218], edx
mov dword [eax + 0x21c], edx
xor edx, edx
mov dword [eax + 0x210], edx
mov dword [eax + 0x214], edx
mov eax, dword [ebx + 0x2d4]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x90]
cmp dword [esi + 0x44], 0
je 0x519015
cmp byte [esi + 0x4c], 0
je 0x519015
cmp byte [esi + 0xb0], 0
je 0x519015
cmp byte [esi + 0x90], 0
jne 0x519015
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x519015
mov eax, esi
call fcn.00513440
test al, al
je 0x519015
mov dword [ebx + 0x2d4], esi
mov eax, dword [ebx + 0x2fc]
call fcn.0047c308
mov eax, ebx
call fcn.004721ac
mov ebp, eax
sub ebp, dword [ebx + 0x388]
dec ebp
cmp byte [esi + 0x93], 0
je 0x518eda
sub ebp, dword [ebx + 0x394]
mov edi, dword [esi + 0x44]
mov dl, 1
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
xor edx, edx
mov eax, edi
call fcn.00443948
mov eax, dword [edi + 0x280]
mov edx, 2
call fcn.00504214
mov edx, 1
mov eax, edi
call fcn.0047aac0
mov dl, 1
mov eax, edi
call fcn.00504d5c
push 0
mov eax, edi
call fcn.0047a8f4
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
call fcn.005125c4
mov dword [esp], eax
push 0x48
mov edx, esi
mov eax, ebx
call fcn.005184d8
push eax
push ebp
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [ebx + 0x388]
inc eax
push eax
push 0
mov eax, edi
call fcn.0047a8f4
push eax
call sub.user32.dll_SetWindowPos
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x94]
mov eax, dword [esi + 0x44]
mov edx, dword [ebx + 0x340]
mov dword [eax + 0x118], edx
mov edx, dword [ebx + 0x344]
mov dword [eax + 0x11c], edx
mov dword [eax + 0x264], ebx
mov dword [eax + 0x260], 0x519214
mov dword [eax + 0x20c], ebx
mov dword [eax + 0x208], 0x516b88
mov edx, dword [ebx + 0x210]
mov dword [eax + 0x210], edx
mov edx, dword [ebx + 0x214]
mov dword [eax + 0x214], edx
mov edx, dword [ebx + 0x218]
mov dword [eax + 0x218], edx
mov edx, dword [ebx + 0x21c]
mov dword [eax + 0x21c], edx
mov dword [eax + 0x1fc], ebx
mov dword [eax + 0x1f8], 0x5192d8
movzx edx, byte [ebx + 0x3a0]
mov byte [eax + 0x2a2], dl
xor edx, edx
mov eax, dword [esi + 0x44]
call fcn.00504d5c
mov eax, dword [esi + 0x44]
call fcn.0047a8f4
push eax
call sub.user32.dll_SetFocus
jmp 0x51903c
mov eax, dword [ebx + 0x2d4]
test eax, eax
je 0x51902f
mov edx, dword [eax]
call dword [edx + 0x88]
xor eax, eax
mov dword [ebx + 0x2d4], eax
mov eax, ebx
call fcn.0047a8f4
push eax
call sub.user32.dll_SetFocus
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret