Function at 0x4c4cc0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x214
mov eax, dword [0x6c9384]
xor eax, esp
mov dword [esp + 0x210], eax
cmp dword [0x6caea0], 0
push ebp
push edi
mov edi, dword [esp + 0x220]
mov ebp, ecx
je 0x4c59cb
cmp dword [ebp + 0xb88], 0
jne 0x4c59cb
cmp dword [0x6d9440], 0
je 0x4c59cb
cmp dword [0x5ce084], 7
jne 0x4c59cb
push ebx
push 0x58
mov ecx, edi
call fcn.0052ca90
mov ebx, 1
cmp eax, ebx
jne 0x4c4d3b
mov ecx, dword [0x6cc0e0]
mov edx, dword [0x6d9440]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x6c63f0], 0
mov dword [esp + 0xc], 0
je 0x4c4d58
cmp dword [ebp + 0xb84], ebx
jne 0x4c4d58
mov dword [esp + 0xc], ebx
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c4d6a
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c4d7d
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c4d90
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x10], 0
je 0x4c4db2
mov eax, dword [ebp + 0xb84]
lea ecx, [eax + eax*4]
lea edx, [esi + ecx*8]
add edx, edx
cmp dword [ebp + edx*8 + 0x50c], 0
je 0x4c4e05
mov eax, dword [ebp + 0xb84]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
mov ecx, eax
add ecx, ecx
test dword [ebp + ecx*8 + 0x504], ebx
je 0x4c4e05
add eax, 0x51
add eax, eax
cmp dword [ebp + eax*8], 0
je 0x4c4de9
movzx edx, word [ebp + ecx*8 + 0x508]
push edx
mov ecx, edi
call fcn.0052ca30
jmp 0x4c4df9
movzx eax, word [ebp + ecx*8 + 0x508]
push eax
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c4e05
push esi
mov ecx, ebp
call fcn.004c3610
inc esi
cmp esi, 0x28
jl 0x4c4d93
push 0x13
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c4ed6
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c4ed6
push 0
push 0x3880
mov ecx, 0x6fec50
call fcn.005572d0
test eax, eax
je 0x4c4e5b
push 0x5ae684
push 0x1d
push 0x6daf28
call fcn.004ca270
add esp, 0xc
jmp 0x4c59c9
mov ecx, dword [0x6cbfd8]
cmp dword [ecx + 0x10], 0
jne 0x4c4e95
cmp dword [0x6c498c], 0
je 0x4c4ea3
push 0x283
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
push 0x1d
push 0x6daf28
call fcn.004ca270
mov ecx, dword [0x6cbfd8]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
jmp 0x4c59c9
mov edx, dword [0x6bb0c8]
cmp byte [edx + 0x6d9070], 0
je 0x4c4ecd
push 0x5a4380
push 1
push 0x3ab7
push 0x6ba2e8
call fcn.0043ad50
add esp, 0x10
jmp 0x4c4ed6
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c4f07
mov ecx, dword [0x6cbef8]
test ecx, ecx
je 0x4c59c9
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x4c4f03
push 0
jmp 0x4c4f05
push 1
call edx
push 0x14
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c4f62
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c4f62
mov esi, dword [0x6cc12c]
test esi, esi
je 0x4c59c9
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x4c4f49
push 1
call fcn.004407f0
mov ecx, esi
call fcn.00440750
push 0
jmp 0x4c4f59
push 0
call fcn.004407f0
mov ecx, esi
call fcn.004406e0
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c4fca
cmp dword [0x6bb0c8], 2
je 0x4c59c9
call fcn.0050af80
mov ecx, eax
call fcn.00514590
test eax, eax
je 0x4c4f9f
call fcn.0050af80
mov ecx, eax
call fcn.005145b0
push 0x8a3
jmp 0x4c4fb0
call fcn.0050af80
mov ecx, eax
call fcn.00514420
push 0x8a2
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
push 0x1d
push 0x6daf28
call fcn.004ca270
add esp, 0xc
push 0xf
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c5078
mov ecx, 0x6d9448
call fcn.004964f0
mov esi, eax
test esi, esi
jne 0x4c500f
push 0x8b2
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
push 0x1d
push 0x6daf28
call fcn.004ca270
add esp, 0xc
jmp 0x4c59c9
cmp byte [esi + 0x128], 1
jne 0x4c59c9
mov edx, dword [0x6c68c0]
mov ecx, dword [0x6cc15c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
push edx
mov edx, dword [0x6c68bc]
push edx
call eax
mov ecx, dword [esi + 0x129]
push ecx
add esi, 0x131
push esi
lea edx, [esp + 0x1e8]
push str._s__d_
push edx
call fcn.00583d3f
mov ecx, dword [0x6cc15c]
add esp, 0x10
lea eax, [esp + 0x1e0]
push eax
call fcn.00508070
mov ecx, dword [0x6cc15c]
call fcn.005080a0
push 0x41
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c50a9
push 0x8e6
mov ecx, 0x6daf28
call fcn.004c8e10
push eax
push 2
push 0x3ab4
push 0x6ba2e8
call fcn.0043ad50
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c50f6
call fcn.00403660
mov ecx, eax
call fcn.00527220
test eax, eax
jne 0x4c50df
call fcn.00403660
mov ecx, eax
call fcn.00527240
mov ecx, dword [0x6cc16c]
call fcn.00527130
jmp 0x4c50f6
call fcn.00403660
mov ecx, eax
call fcn.00527480
mov ecx, dword [0x6cc16c]
call fcn.005270e0
push 0x10
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c513a
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c513a
mov ecx, dword [0x6ca960]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4c512c
mov edx, dword [0x6ca960]
push 0
push edx
jmp 0x4c5134
mov eax, dword [0x6ca960]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x6bc394], 0
je 0x4c59c9
push 0x22
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c517b
push 0x1d
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c517b
mov ecx, dword [0x6cc0b4]
test ecx, ecx
je 0x4c517b
mov edx, dword [ecx]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [ecx + 0x10], eax
sete al
push eax
call edx
push 0x13
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c51af
push 0x1d
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c51af
mov ecx, dword [0x6cc0b8]
test ecx, ecx
je 0x4c51af
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0x10], edx
sete dl
push edx
call eax
push 0x20
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c51e2
push 0x1d
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c51e2
mov ecx, dword [0x6cc0f0]
cmp dword [ecx + 0x10], 1
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4c51de
push 0
jmp 0x4c51e0
push 1
call eax
push 0x3b
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c520d
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c520d
xor ecx, ecx
cmp dword [0x6fceac], ecx
sete cl
mov dword [0x6fceac], ecx
push 0xe
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c5231
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c5231
mov ecx, 0x6ba2e8
call fcn.004376f0
push 0x19
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c5263
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c5263
xor dword [ebp + 0xb90], 1
mov eax, dword [ebp + 0xb90]
push eax
mov ecx, 0x6b9850
call fcn.0041b8a0
push 0x2e
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c5296
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c5296
cmp dword [0x6feff8], 4
mov ecx, 0x6fefe0
jne 0x4c528f
push 0
jmp 0x4c5291
push 4
call fcn.0055a2d0
push 0x1e
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c52d8
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c52d8
mov esi, dword [0x6cc098]
test esi, esi
je 0x4c52d8
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 0x5ae668
mov ecx, esi
call fcn.00477980
push 0x1f
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c530c
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c530c
mov ecx, dword [0x6cc068]
test ecx, ecx
je 0x4c530c
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.0052c9f0
test eax, eax
je 0x4c55f9
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c55f9
mov esi, dword [0x6cc06c]
test esi, esi
je 0x4c55f9
mov ecx, dword [0x5ae65c]
mov edx, dword [0x5ae660]
movzx eax, word [0x5ae664]
mov dword [esp + 0x1c8], ecx
movzx ecx, byte [0x5ae666]
mov dword [esp + 0x1cc], edx
lea edx, [esp + 0x44]
mov byte [esp + 0x1d2], cl
push edx
mov ecx, esi
mov word [esp + 0x1e1], 0x800
mov dword [esp + 0x48], 2
mov word [esp + 0x1d4], ax
call fcn.004767e0
mov eax, dword [0x5ae650]
mov ecx, dword [0x5ae654]
movzx edx, word [0x5ae658]
mov dword [esp + 0x1cc], ecx
mov dword [esp + 0x1c8], eax
movzx eax, byte [0x5ae65a]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
mov word [esp + 0x1e1], 0x2001
mov dword [esp + 0x48], 4
mov word [esp + 0x1d4], dx
mov byte [esp + 0x1d6], al
call fcn.004767e0
mov edx, dword [0x5ae644]
mov eax, dword [0x5ae648]
movzx ecx, word [0x5ae64c]
mov dword [esp + 0x1c8], edx
movzx edx, byte [0x5ae64e]
mov dword [esp + 0x1cc], eax
lea eax, [esp + 0x44]
mov word [esp + 0x1d0], cx
mov ebx, 6
push eax
mov ecx, esi
mov word [esp + 0x1e1], 0x1002
mov dword [esp + 0x48], ebx
mov byte [esp + 0x1d6], dl
call fcn.004767e0
mov ecx, dword [0x5ae638]
mov edx, dword [0x5ae63c]
movzx eax, word [0x5ae640]
mov dword [esp + 0x1c8], ecx
movzx ecx, byte [0x5ae642]
mov dword [esp + 0x1cc], edx
lea edx, [esp + 0x44]
mov byte [esp + 0x1d2], cl
push edx
mov ecx, esi
mov word [esp + 0x1e1], 0x2003
mov dword [esp + 0x48], 8
mov word [esp + 0x1d4], ax
call fcn.004767e0
mov eax, dword [0x5ae62c]
mov ecx, dword [0x5ae630]
movzx edx, word [0x5ae634]
mov dword [esp + 0x1cc], ecx
mov dword [esp + 0x1c8], eax
movzx eax, byte [0x5ae636]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
mov word [esp + 0x1e1], 0x2004
mov dword [esp + 0x48], 0xa
mov word [esp + 0x1d4], dx
mov byte [esp + 0x1d6], al
call fcn.004767e0
mov edx, dword [0x5ae620]
movzx ecx, word [0x5ae628]
mov eax, dword [0x5ae624]
mov dword [esp + 0x1c8], edx
movzx edx, byte [0x5ae62a]
mov word [esp + 0x1dd], 0x405
mov dword [esp + 0x44], 0xc
mov dword [esp + 0x1cc], eax
mov word [esp + 0x1d0], cx
mov byte [esp + 0x1d2], dl
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.004767e0
mov ecx, dword [0x5ae614]
mov edx, dword [0x5ae618]
movzx eax, word [0x5ae61c]
mov dword [esp + 0x1c8], ecx
movzx ecx, byte [0x5ae61e]
mov dword [esp + 0x1cc], edx
lea edx, [esp + 0x44]
mov byte [esp + 0x1d2], cl
push edx
mov ecx, esi
mov word [esp + 0x1e1], 0x1006
mov dword [esp + 0x48], 0xe
mov word [esp + 0x1d4], ax
call fcn.004767e0
mov eax, dword [0x5ae608]
mov ecx, dword [0x5ae60c]
movzx edx, word [0x5ae610]
mov dword [esp + 0x1cc], ecx
mov dword [esp + 0x1c8], eax
movzx eax, byte [0x5ae612]
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
mov word [esp + 0x1e1], 0x2007
mov dword [esp + 0x48], 0x10
mov word [esp + 0x1d4], dx
mov byte [esp + 0x1d6], al
call fcn.004767e0
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.00476d10
push 0x24
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c57cd
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c57cd
lea eax, [esp + 0x1e5]
push 0x5ae5fc
push eax
mov byte [esp + 0x1e8], 0
call fcn.00583d3f
lea ecx, [esp + 0x1fe]
push 0x5ae5f0
push ecx
call fcn.00583d3f
lea edx, [esp + 0x31]
push 0x5ae5e8
push edx
mov byte [esp + 0x34], 1
call fcn.00583d3f
lea eax, [esp + 0x4a]
push 0x5ae5e0
push eax
call fcn.00583d3f
mov esi, dword [0x6cc070]
add esp, 0x20
test esi, esi
je 0x4c57cd
lea ecx, [esp + 0x1e0]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.004756c0
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004756c0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004756c0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004756c0
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004756c0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004756c0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004756c0
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004756c0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004756c0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004756c0
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004756c0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004756c0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004756c0
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004756c0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004756c0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004756c0
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004756c0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004756c0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004756c0
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004756c0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004756c0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004756c0
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004756c0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004756c0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004756c0
mov ecx, esi
call fcn.004757d0
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.0052c9f0
test eax, eax
je 0x4c5801
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c5801
mov ecx, dword [0x6cc074]
test ecx, ecx
je 0x4c5801
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.0052c9f0
test eax, eax
je 0x4c5834
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c5834
mov ecx, dword [0x6cbeb8]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4c5830
push 1
jmp 0x4c5832
push 0
call eax
push 0x25
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c584a
push 0x38
mov ecx, edi
call fcn.0052ca90
push 0x20
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c587d
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c587d
mov ecx, dword [0x6cc0ec]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4c5879
push 1
jmp 0x4c587b
push 0
call eax
cmp dword [esp + 0x10], 1
je 0x4c59c9
push 0x17
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c58ca
push 0x38
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c58ca
mov ecx, dword [0x6d944c]
mov word [esp + 0x11], 0x7f05
mov edx, dword [ecx + 0x129]
push 7
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6c6908
mov dword [esp + 0x1b], edx
call fcn.0052db60
push 0x31
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c58fe
push 0x1d
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c58fe
mov ecx, dword [0x6cc0a0]
test ecx, ecx
je 0x4c58fe
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.0052c9f0
mov bl, 0x3c
test eax, eax
je 0x4c5945
push 0x1d
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c5945
mov eax, dword [0x6d9440]
push 0xb
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x6c6908
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x1f], 2
call fcn.0052db60
push 0x10
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c5983
push 0x1d
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c5983
mov edx, dword [0x6d9440]
push 7
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6c6908
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.0052db60
push 0x1e
mov ecx, edi
call fcn.0052c9f0
test eax, eax
je 0x4c59c9
push 0x1d
mov ecx, edi
call fcn.0052ca90
test eax, eax
je 0x4c59c9
mov ecx, dword [0x6d9440]
push 0xb
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x6c6908
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1f], 1
call fcn.0052db60
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
pop edi
pop ebp
xor ecx, esp
call fcn.005837be
add esp, 0x214
ret 4