Function at 0x4f4979
Capabilities:
Hide graphical window

Disassembly:
push 0x14
mov eax, 0x514f3e
call fcn.0044c7ac
xor esi, esi
cmp byte [ebp + 8], 0
mov dword [ebp - 0x10], esi
je 0x4f4a36
mov eax, dword [0x5768f8]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
push 0x9c
push 0x402
push dword [edi + 0x10]
call dword [eax + 0x40]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x403
push dword [edi + 0x10]
call ebx
push esi
push eax
call dword [0x574eb4]
push 0x3ef
push dword [edi + 0x10]
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [0x574f08]
push 4
push 4
push 0x1036
push dword [edi + 0x1d4]
call ebx
lea ecx, [edi + 0x1f4]
mov eax, dword [ecx]
call dword [eax]
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
push eax
lea eax, [edi + 0x23c]
call fcn.0042132b
push 1
mov eax, edi
call fcn.004f4086
push esi
mov byte [edi + 0xd8], 1
mov eax, dword [0x5768f8]
mov eax, dword [eax + 8]
push esi
push 0x406
push eax
call ebx
jmp 0x4f4ae3
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 0x1d0]
lea ebx, [ebp - 0x18]
call fcn.00461d4a
lea ecx, [edi + 0x1f4]
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jle 0x4f4a5f
cmp dword [ebp - 0x14], esi
jle 0x4f4a5f
mov bl, 1
jmp 0x4f4a61
xor bl, bl
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x403
push dword [edi + 0x10]
call esi
movzx ecx, bl
push ecx
push eax
call dword [0x574eb4]
push 0x3ef
push dword [edi + 0x10]
call esi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [edi + 0xd8]
call fcn.0041652f
mov eax, dword [0x5768f8]
mov eax, dword [eax + 8]
mov ebx, dword [0x574f08]
push 0
push 1
push 0x406
push eax
call ebx
mov eax, dword [0x5768f8]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
push 0x9a
push 0x402
push dword [edi + 0x10]
call dword [eax + 0x40]
push 0x402
push dword [edi + 0x10]
call esi
push 1
push eax
call dword [0x574eb4]
xor esi, esi
cmp byte [ebp + 0xc], 0
je 0x4f4c03
lea ecx, [edi + 0x1f4]
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x4f4c03
push esi
mov eax, edi
call fcn.004f4086
push 0x14
call fcn.004484be
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
and dword [ebp - 4], 0
test esi, esi
je 0x4f4b69
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
push 0x12e
lea edx, [ebp + 0xc]
push edx
push eax
call dword [ecx + 0x34]
add esp, 0xc
mov byte [ebp - 4], 1
mov dword [esi], 0x12e
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp - 0x10], 1
call fcn.00412a2a
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esi + 8], 0
mov byte [esi + 9], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
jmp 0x4f4b6b
xor esi, esi
mov dword [ebp - 4], 2
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
call fcn.00421597
push esi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00427699
add esp, 0xc
mov dword [ebp - 4], 4
test byte [ebp - 0x10], 1
je 0x4f4ba4
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00410d34
lea eax, [ebp - 0x20]
lea esi, [edi + 0x2e8]
push eax
call fcn.004e71f9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push 0
push eax
push 0x102f
lea esi, [edi + 0x1d4]
push dword [esi]
call ebx
push 0
push 0
push esi
call fcn.0041be55
push 0xffffffffffffffff
push 1
push esi
call fcn.0041be55
push 0xfffffffffffffffe
push 2
push esi
call fcn.0041be55
push 0xfffffffffffffffe
push 3
push esi
call fcn.0041be55
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4f4c03
call fcn.00411e0e
mov al, byte [ebp + 8]
mov byte [edi + 0x2e0], al
call fcn.0044c884
ret 8