Function at 0x57608e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x57637c
mov eax, dword [edi]
mov esi, dword [eax + 0x170]
mov ecx, esi
call dword [0x617acc]
mov ecx, edi
call esi
mov dword [ebp - 0x18], eax
test eax, eax
je 0x57637c
cmp dword [ebp + 8], 0
je 0x5760ea
mov eax, dword [eax + 0xac]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5760ea
mov eax, dword [eax]
push 0
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x617acc]
mov ecx, dword [ebp - 0x10]
call esi
mov eax, dword [edi + 0xb4]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5761ba
lea eax, [edi + 0xb0]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.00488302
mov esi, dword [eax]
mov dword [ebp - 8], esi
test esi, esi
je 0x57637c
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x14], eax
lea ecx, [eax - 0xe800]
cmp ecx, 0x1f
ja 0x5761a7
lea ecx, [eax - 0xe800]
xor eax, eax
inc eax
shl eax, cl
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
mov esi, dword [eax + 0x190]
mov ecx, esi
call dword [0x617acc]
mov ecx, dword [ebp - 8]
call esi
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 4]
test eax, eax
mov eax, dword [ebp - 8]
cmove ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [eax]
mov esi, dword [eax + 0x198]
mov ecx, esi
call dword [0x617acc]
mov ecx, dword [ebp - 8]
call esi
test eax, eax
je 0x57618c
cmp dword [ebp - 0x14], 0xe81f
je 0x5761a7
mov eax, dword [ebx + 8]
mov ecx, edi
and eax, dword [ebp - 0xc]
push 1
push eax
push dword [ebp - 8]
call fcn.00576ccf
mov ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
jmp 0x5761aa
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x10], 0
lea eax, [edi + 0xb0]
jne 0x576106
cmp dword [ebp + 8], 0
mov dword [ebx + 8], ecx
je 0x576287
mov eax, dword [ebx + 0x10]
mov ecx, edi
push 0
mov dword [edi + 0xe0], eax
call fcn.00576e16
push dword [ebx]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x100], 1
jne 0x576206
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetMenu]
jmp 0x57620c
mov eax, dword [edi + 0x104]
mov dword [ebx + 4], eax
test eax, eax
je 0x57623d
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi]
push 0
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [0x617acc]
mov ecx, edi
call esi
and dword [edi + 0x118], 0xfffffffe
mov esi, dword [ebp - 0x14]
mov eax, dword [edi + 0x8c]
mov ecx, edi
mov dword [ebx + 0x14], eax
and dword [edi + 0x8c], 0
push 0x7915
call fcn.00574517
mov eax, 0xe900
cmp dword [ebx], eax
je 0x57626e
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x576280
push 0xea21
push 0xfffffffffffffff4
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop edi
pop esi
pop ebx
leave
ret 8
and dword [edi + 0xe0], 0
push 0xea21
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x10], eax
mov esi, 0xe900
test eax, eax
je 0x5762d0
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x5762c4
push 0xea21
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
push 0xfffffffffffffff4
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [ebx + 4], 0
je 0x57630a
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 0x100]
cmp eax, 1
jne 0x5762fc
push dword [ebx + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetMenu]
jmp 0x57630a
cmp eax, 2
jne 0x57630a
mov eax, dword [ebx + 4]
mov dword [edi + 0x104], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xac]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x57632e
mov eax, dword [eax]
push 1
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x617acc]
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [edi]
push 1
mov esi, dword [eax + 0x178]
mov ecx, esi
call dword [0x617acc]
mov ecx, edi
call esi
cmp dword [ebx], 0xe900
je 0x576359
push dword [ebx]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x57635c
mov eax, dword [ebp - 0x10]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x14]
mov ecx, edi
push 1
mov dword [edi + 0x8c], eax
call fcn.00576e16
jmp 0x576280
call fcn.004833e2
int3