Function at 0x4c0860
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x200
cmp dword [0x6a5d20], 0
push ebp
mov ebp, ecx
je 0x4c147a
cmp dword [ebp + 0xbc8], 0
jne 0x4c147a
cmp dword [0x6b4190], 0
je 0x4c147a
cmp dword [0x6a5d60], 7
jne 0x4c147a
push ebx
push edi
mov edi, dword [esp + 0x210]
push 0x58
mov ecx, edi
call fcn.00510680
mov ebx, 1
cmp eax, ebx
jne 0x4c08cd
mov ecx, dword [0x6a6520]
mov edx, dword [0x6b4190]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x6c4190], 0
mov dword [esp + 0x1c], 0
je 0x4c08ea
cmp dword [ebp + 0xbc4], ebx
jne 0x4c08ea
mov dword [esp + 0x1c], ebx
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c08fc
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c090f
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0922
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x4c0943
mov ecx, dword [ebp + 0xbc4]
imul ecx, ecx, 0x29
add ecx, esi
add ecx, ecx
cmp dword [ebp + ecx*8 + 0x52c], 0
je 0x4c0995
mov eax, dword [ebp + 0xbc4]
imul eax, eax, 0x29
add eax, esi
mov ecx, eax
add ecx, ecx
test dword [ebp + ecx*8 + 0x524], ebx
je 0x4c0995
add eax, 0x53
add eax, eax
cmp dword [ebp + eax*8], 0
je 0x4c0979
movzx edx, word [ebp + ecx*8 + 0x528]
push edx
mov ecx, edi
call fcn.00510620
jmp 0x4c0989
movzx eax, word [ebp + ecx*8 + 0x528]
push eax
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0995
push esi
mov ecx, ebp
call fcn.004bf0f0
inc esi
cmp esi, 0x29
jl 0x4c0925
push 0x13
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0a92
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0a92
push 0
push 0x3880
mov ecx, 0x6e1128
call fcn.00533c30
test eax, eax
je 0x4c09f3
push 0x58eef8
push 0x1d
push 0x6b6198
call fcn.004c5ad0
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
add esp, 0x200
ret 4
mov ecx, dword [0x6a6418]
cmp dword [ecx + 0x10], 0
je 0x4c0a18
mov edx, dword [ecx]
pop esi
pop edi
pop ebx
pop ebp
add esp, 0x200
mov dword [esp + 4], 0
mov eax, dword [edx + 8]
jmp eax
cmp dword [0x6c2044], 0
je 0x4c0a5f
push 0x283
mov ecx, 0x6b6198
call fcn.004c4980
push eax
push 0x1d
push 0x6b6198
call fcn.004c5ad0
mov ecx, dword [0x6a6418]
mov edx, dword [ecx]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
add esp, 0x200
mov dword [esp + 4], 0
mov eax, dword [edx + 8]
jmp eax
mov edx, dword [0x69e90c]
cmp byte [edx + 0x6b3d78], 0
je 0x4c0a89
push 0x58ef28
push 1
push 0x3aba
push 0x6b3890
call fcn.00441fd0
add esp, 0x10
jmp 0x4c0a92
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0ac3
mov ecx, dword [0x6a6338]
test ecx, ecx
je 0x4c1477
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x4c0abf
push 0
jmp 0x4c0ac1
push 1
call edx
push 0x14
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0b1e
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0b1e
mov esi, dword [0x6a656c]
test esi, esi
je 0x4c1477
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x4c0b05
push 1
call fcn.00445a60
mov ecx, esi
call fcn.00445d20
push 0
jmp 0x4c0b15
push 0
call fcn.00445a60
mov ecx, esi
call fcn.004462f0
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.005105e0
push 0x41
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0b58
push 0x8e6
mov ecx, 0x6b6198
call fcn.004c4980
push eax
push 2
push 0x3ab5
push 0x6b3890
call fcn.00441fd0
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0ba5
call fcn.0040c5a0
mov ecx, eax
call fcn.0050bb10
test eax, eax
jne 0x4c0b8e
call fcn.0040c5a0
mov ecx, eax
call fcn.0050bcc0
mov ecx, dword [0x6a65ac]
call fcn.0050b7c0
jmp 0x4c0ba5
call fcn.0040c5a0
mov ecx, eax
call fcn.0050bb20
mov ecx, dword [0x6a65ac]
call fcn.0050b790
push 0x10
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0be9
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0be9
mov eax, dword [0x6a5d0c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4c0bda
mov ecx, dword [0x6a5d0c]
push 0
push ecx
jmp 0x4c0be3
mov edx, dword [0x6a5d0c]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x6b505c], 0
je 0x4c1477
push 0x22
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0c2a
push 0x1d
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0c2a
mov ecx, dword [0x6a64f4]
test ecx, ecx
je 0x4c0c2a
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0x10], edx
sete dl
push edx
call eax
push 0x13
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0c5e
push 0x1d
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0c5e
mov ecx, dword [0x6a64f8]
test ecx, ecx
je 0x4c0c5e
mov edx, dword [ecx]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [ecx + 0x10], eax
sete al
push eax
call edx
push 0x20
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0c91
push 0x1d
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0c91
mov ecx, dword [0x6a6530]
cmp dword [ecx + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x4c0c8d
push 0
jmp 0x4c0c8f
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0cbb
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0cbb
xor eax, eax
cmp dword [0x6df304], eax
sete al
mov dword [0x6df304], eax
push 0xe
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0cdf
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0cdf
mov ecx, 0x6b3890
call fcn.0043ea50
push 0x19
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0d11
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0d11
xor dword [ebp + 0xbd0], 1
mov eax, dword [ebp + 0xbd0]
push eax
mov ecx, 0x6a7ac0
call fcn.00423530
push 0x2e
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0d44
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0d44
cmp dword [0x6e14f8], 4
mov ecx, 0x6e14e0
jne 0x4c0d3d
push 0
jmp 0x4c0d3f
push 4
call fcn.0053c5a0
push 0x1e
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0d86
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0d86
mov esi, dword [0x6a64d8]
test esi, esi
je 0x4c0d86
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [esi + 0x10], eax
mov ecx, esi
sete al
push eax
call edx
push 0x58ef14
mov ecx, esi
call fcn.00477ec0
push 0x1f
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c0dba
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c0dba
mov ecx, dword [0x6a64a8]
test ecx, ecx
je 0x4c0dba
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0x10], edx
sete dl
push edx
call eax
push 0x26
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c10a7
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c10a7
mov esi, dword [0x6a64ac]
test esi, esi
je 0x4c10a7
mov ecx, dword [0x58ef74]
mov edx, dword [0x58ef78]
movzx eax, word [0x58ef7c]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x58ef7e]
mov dword [esp + 0x1d4], edx
lea edx, [esp + 0x4c]
mov byte [esp + 0x1da], cl
push edx
mov ecx, esi
mov word [esp + 0x1e9], 0x800
mov dword [esp + 0x50], 2
mov word [esp + 0x1dc], ax
call fcn.00476df0
mov eax, dword [0x58ef80]
mov ecx, dword [0x58ef84]
movzx edx, word [0x58ef88]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x58ef8a]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov word [esp + 0x1e9], 0x2001
mov dword [esp + 0x50], 4
mov word [esp + 0x1dc], dx
mov byte [esp + 0x1de], al
call fcn.00476df0
mov edx, dword [0x58ef8c]
mov eax, dword [0x58ef90]
movzx ecx, word [0x58ef94]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x58ef96]
mov dword [esp + 0x1d4], eax
lea eax, [esp + 0x4c]
mov word [esp + 0x1d8], cx
mov ebx, 6
push eax
mov ecx, esi
mov word [esp + 0x1e9], 0x1002
mov dword [esp + 0x50], ebx
mov byte [esp + 0x1de], dl
call fcn.00476df0
mov ecx, dword [0x58ef98]
mov edx, dword [0x58ef9c]
movzx eax, word [0x58efa0]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x58efa2]
mov dword [esp + 0x1d4], edx
lea edx, [esp + 0x4c]
mov byte [esp + 0x1da], cl
push edx
mov ecx, esi
mov word [esp + 0x1e9], 0x2003
mov dword [esp + 0x50], 8
mov word [esp + 0x1dc], ax
call fcn.00476df0
mov eax, dword [0x58efa4]
mov ecx, dword [0x58efa8]
movzx edx, word [0x58efac]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x58efae]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov word [esp + 0x1e9], 0x2004
mov dword [esp + 0x50], 0xa
mov word [esp + 0x1dc], dx
mov byte [esp + 0x1de], al
call fcn.00476df0
mov edx, dword [0x58efb0]
movzx ecx, word [0x58efb8]
mov eax, dword [0x58efb4]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x58efba]
mov word [esp + 0x1e5], 0x405
mov dword [esp + 0x4c], 0xc
mov dword [esp + 0x1d4], eax
mov word [esp + 0x1d8], cx
mov byte [esp + 0x1da], dl
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.00476df0
mov ecx, dword [0x58efbc]
mov edx, dword [0x58efc0]
movzx eax, word [0x58efc4]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x58efc6]
mov dword [esp + 0x1d4], edx
lea edx, [esp + 0x4c]
mov byte [esp + 0x1da], cl
push edx
mov ecx, esi
mov word [esp + 0x1e9], 0x1006
mov dword [esp + 0x50], 0xe
mov word [esp + 0x1dc], ax
call fcn.00476df0
mov eax, dword [0x58efc8]
mov ecx, dword [0x58efcc]
movzx edx, word [0x58efd0]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x58efd2]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov word [esp + 0x1e9], 0x2007
mov dword [esp + 0x50], 0x10
mov word [esp + 0x1dc], dx
mov byte [esp + 0x1de], al
call fcn.00476df0
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [esi + 0x10], eax
mov ecx, esi
sete al
push eax
call edx
mov ecx, esi
call fcn.004772e0
push 0x24
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c127b
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c127b
lea eax, [esp + 0x1ed]
push 0x58efd4
push eax
mov byte [esp + 0x1f0], 0
call fcn.00561680
lea ecx, [esp + 0x206]
push 0x58efe0
push ecx
call fcn.00561680
lea edx, [esp + 0x39]
push 0x58efec
push edx
mov byte [esp + 0x3c], 1
call fcn.00561680
lea eax, [esp + 0x52]
push 0x58eff4
push eax
call fcn.00561680
mov esi, dword [0x6a64b0]
add esp, 0x20
test esi, esi
je 0x4c127b
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.00475de0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00475de0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00475de0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00475de0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00475de0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00475de0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00475de0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00475de0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00475de0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00475de0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00475de0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00475de0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00475de0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00475de0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00475de0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00475de0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00475de0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00475de0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00475de0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00475de0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00475de0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00475de0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00475de0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00475de0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00475de0
mov ecx, esi
call fcn.00475ef0
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [esi + 0x10], eax
mov ecx, esi
sete al
push eax
call edx
push 0x23
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c12af
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c12af
mov ecx, dword [0x6a64b4]
test ecx, ecx
je 0x4c12af
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0x10], edx
sete dl
push edx
call eax
push 0x22
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c12e2
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c12e2
mov ecx, dword [0x6a62f8]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4c12de
push 1
jmp 0x4c12e0
push 0
call eax
push 0x25
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c12f8
push 0x38
mov ecx, edi
call fcn.00510680
push 0x20
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c132b
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c132b
mov ecx, dword [0x6a652c]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4c1327
push 1
jmp 0x4c1329
push 0
call eax
cmp dword [esp + 0x20], 1
je 0x4c1477
push 0x17
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c1378
push 0x38
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c1378
mov ecx, dword [0x6b419c]
mov word [esp + 0x11], 0x7f05
mov edx, dword [ecx + 0x129]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6c4628
mov dword [esp + 0x1b], edx
call fcn.005115d0
push 0x31
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c13ac
push 0x1d
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c13ac
mov ecx, dword [0x6a64e0]
test ecx, ecx
je 0x4c13ac
mov edx, dword [ecx]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [ecx + 0x10], eax
sete al
push eax
call edx
push 0x15
mov ecx, edi
call fcn.005105e0
mov bl, 0x3c
test eax, eax
je 0x4c13f3
push 0x1d
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c13f3
mov eax, dword [0x6b4190]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x6c4628
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x21], 2
call fcn.005115d0
push 0x10
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c1431
push 0x1d
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c1431
mov edx, dword [0x6b4190]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6c4628
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.005115d0
push 0x1e
mov ecx, edi
call fcn.005105e0
test eax, eax
je 0x4c1477
push 0x1d
mov ecx, edi
call fcn.00510680
test eax, eax
je 0x4c1477
mov ecx, dword [0x6b4190]
push 0xd
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x6c4628
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x21], 1
call fcn.005115d0
pop esi
pop edi
pop ebx
pop ebp
add esp, 0x200
ret 4