Function at 0x4bc070
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x214
mov eax, dword [0x6b3854]
xor eax, esp
mov dword [esp + 0x210], eax
cmp dword [0x6b5380], 0
push ebp
push edi
mov edi, dword [esp + 0x220]
mov ebp, ecx
je 0x4bcd7b
cmp dword [ebp + 0xb88], 0
jne 0x4bcd7b
cmp dword [0x6c4140], 0
je 0x4bcd7b
cmp dword [0x6b5cc8], 7
jne 0x4bcd7b
push ebx
push 0x58
mov ecx, edi
call fcn.0051cfc0
mov ebx, 1
cmp eax, ebx
jne 0x4bc0eb
mov ecx, dword [0x6b65e8]
mov edx, dword [0x6c4140]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x6d52e0], 0
mov dword [esp + 0xc], 0
je 0x4bc108
cmp dword [ebp + 0xb84], ebx
jne 0x4bc108
mov dword [esp + 0xc], ebx
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc11a
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc12d
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc140
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x10], 0
je 0x4bc162
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 0x4bc1b5
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 0x4bc1b5
add eax, 0x51
add eax, eax
cmp dword [ebp + eax*8], 0
je 0x4bc199
movzx edx, word [ebp + ecx*8 + 0x508]
push edx
mov ecx, edi
call fcn.0051cf60
jmp 0x4bc1a9
movzx eax, word [ebp + ecx*8 + 0x508]
push eax
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc1b5
push esi
mov ecx, ebp
call fcn.004ba9c0
inc esi
cmp esi, 0x28
jl 0x4bc143
push 0x13
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc286
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc286
push 0
push 0x3880
mov ecx, 0x6f2150
call fcn.005427f0
test eax, eax
je 0x4bc20b
push 0x59c9a4
push 0x1d
push 0x6c6100
call fcn.004c13e0
add esp, 0xc
jmp 0x4bcd79
mov ecx, dword [0x6b64e0]
cmp dword [ecx + 0x10], 0
jne 0x4bc245
cmp dword [0x6d006c], 0
je 0x4bc253
push 0x283
mov ecx, 0x6c6100
call fcn.004c00d0
push eax
push 0x1d
push 0x6c6100
call fcn.004c13e0
mov ecx, dword [0x6b64e0]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
jmp 0x4bcd79
mov edx, dword [0x6ae674]
cmp byte [edx + 0x6c3d28], 0
je 0x4bc27d
push 0x592f78
push 1
push 0x3ab7
push 0x6c3848
call fcn.00437bf0
add esp, 0x10
jmp 0x4bc286
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc2b7
mov ecx, dword [0x6b6400]
test ecx, ecx
je 0x4bcd79
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x4bc2b3
push 0
jmp 0x4bc2b5
push 1
call edx
push 0x14
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc312
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc312
mov esi, dword [0x6b6634]
test esi, esi
je 0x4bcd79
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x4bc2f9
push 1
call fcn.0043c410
mov ecx, esi
call fcn.0043c3b0
push 0
jmp 0x4bc309
push 0
call fcn.0043c410
mov ecx, esi
call fcn.0043c340
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc37a
cmp dword [0x6ae674], 2
je 0x4bcd79
call fcn.004fdc50
mov ecx, eax
call fcn.00507f90
test eax, eax
je 0x4bc34f
call fcn.004fdc50
mov ecx, eax
call fcn.00507fb0
push 0x8a3
jmp 0x4bc360
call fcn.004fdc50
mov ecx, eax
call fcn.00507e20
push 0x8a2
mov ecx, 0x6c6100
call fcn.004c00d0
push eax
push 0x1d
push 0x6c6100
call fcn.004c13e0
add esp, 0xc
push 0xf
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc428
mov ecx, 0x6c4148
call fcn.00490010
mov esi, eax
test esi, esi
jne 0x4bc3bf
push 0x8b2
mov ecx, 0x6c6100
call fcn.004c00d0
push eax
push 0x1d
push 0x6c6100
call fcn.004c13e0
add esp, 0xc
jmp 0x4bcd79
cmp byte [esi + 0x128], 1
jne 0x4bcd79
mov edx, dword [0x6d5738]
mov ecx, dword [0x6b6664]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
push edx
mov edx, dword [0x6d5734]
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.0056d39f
mov ecx, dword [0x6b6664]
add esp, 0x10
lea eax, [esp + 0x1e0]
push eax
call fcn.004fd000
mov ecx, dword [0x6b6664]
call fcn.004fd040
push 0x41
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc459
push 0x8e6
mov ecx, 0x6c6100
call fcn.004c00d0
push eax
push 2
push 0x3ab4
push 0x6c3848
call fcn.00437bf0
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc4a6
call fcn.00401f90
mov ecx, eax
call fcn.00518660
test eax, eax
jne 0x4bc48f
call fcn.00401f90
mov ecx, eax
call fcn.00518680
mov ecx, dword [0x6b6674]
call fcn.005181e0
jmp 0x4bc4a6
call fcn.00401f90
mov ecx, eax
call fcn.00518d00
mov ecx, dword [0x6b6674]
call fcn.00518190
push 0x10
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc4ea
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc4ea
mov ecx, dword [0x6b4e40]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4bc4dc
mov edx, dword [0x6b4e40]
push 0
push edx
jmp 0x4bc4e4
mov eax, dword [0x6b4e40]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x6c5004], 0
je 0x4bcd79
push 0x22
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc52b
push 0x1d
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc52b
mov ecx, dword [0x6b65bc]
test ecx, ecx
je 0x4bc52b
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.0051cf20
test eax, eax
je 0x4bc55f
push 0x1d
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc55f
mov ecx, dword [0x6b65c0]
test ecx, ecx
je 0x4bc55f
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.0051cf20
test eax, eax
je 0x4bc592
push 0x1d
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc592
mov ecx, dword [0x6b65f8]
cmp dword [ecx + 0x10], 1
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4bc58e
push 0
jmp 0x4bc590
push 1
call eax
push 0x3b
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc5bd
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc5bd
xor ecx, ecx
cmp dword [0x6f0354], ecx
sete cl
mov dword [0x6f0354], ecx
push 0xe
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc5e1
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc5e1
mov ecx, 0x6c3848
call fcn.00434820
push 0x19
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc613
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc613
xor dword [ebp + 0xb90], 1
mov eax, dword [ebp + 0xb90]
push eax
mov ecx, 0x6b7a78
call fcn.00419690
push 0x2e
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc646
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc646
cmp dword [0x6f24f8], 4
mov ecx, 0x6f24e0
jne 0x4bc63f
push 0
jmp 0x4bc641
push 4
call fcn.00545810
push 0x1e
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc688
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc688
mov esi, dword [0x6b65a0]
test esi, esi
je 0x4bc688
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 0x59c988
mov ecx, esi
call fcn.00470560
push 0x1f
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bc6bc
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc6bc
mov ecx, dword [0x6b6570]
test ecx, ecx
je 0x4bc6bc
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.0051cf20
test eax, eax
je 0x4bc9a9
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bc9a9
mov esi, dword [0x6b6574]
test esi, esi
je 0x4bc9a9
mov ecx, dword [0x59c97c]
mov edx, dword [0x59c980]
movzx eax, word [0x59c984]
mov dword [esp + 0x1c8], ecx
movzx ecx, byte [0x59c986]
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.0046f3f0
mov eax, dword [0x59c970]
mov ecx, dword [0x59c974]
movzx edx, word [0x59c978]
mov dword [esp + 0x1cc], ecx
mov dword [esp + 0x1c8], eax
movzx eax, byte [0x59c97a]
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.0046f3f0
mov edx, dword [0x59c964]
mov eax, dword [0x59c968]
movzx ecx, word [0x59c96c]
mov dword [esp + 0x1c8], edx
movzx edx, byte [0x59c96e]
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.0046f3f0
mov ecx, dword [0x59c958]
mov edx, dword [0x59c95c]
movzx eax, word [0x59c960]
mov dword [esp + 0x1c8], ecx
movzx ecx, byte [0x59c962]
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.0046f3f0
mov eax, dword [0x59c94c]
mov ecx, dword [0x59c950]
movzx edx, word [0x59c954]
mov dword [esp + 0x1cc], ecx
mov dword [esp + 0x1c8], eax
movzx eax, byte [0x59c956]
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.0046f3f0
mov edx, dword [0x59c940]
movzx ecx, word [0x59c948]
mov eax, dword [0x59c944]
mov dword [esp + 0x1c8], edx
movzx edx, byte [0x59c94a]
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.0046f3f0
mov ecx, dword [0x59c934]
mov edx, dword [0x59c938]
movzx eax, word [0x59c93c]
mov dword [esp + 0x1c8], ecx
movzx ecx, byte [0x59c93e]
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.0046f3f0
mov eax, dword [0x59c928]
mov ecx, dword [0x59c92c]
movzx edx, word [0x59c930]
mov dword [esp + 0x1cc], ecx
mov dword [esp + 0x1c8], eax
movzx eax, byte [0x59c932]
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.0046f3f0
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.0046f9a0
push 0x24
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bcb7d
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bcb7d
lea eax, [esp + 0x1e5]
push 0x59c91c
push eax
mov byte [esp + 0x1e8], 0
call fcn.0056d39f
lea ecx, [esp + 0x1fe]
push 0x59c910
push ecx
call fcn.0056d39f
lea edx, [esp + 0x31]
push 0x59c908
push edx
mov byte [esp + 0x34], 1
call fcn.0056d39f
lea eax, [esp + 0x4a]
push 0x59c900
push eax
call fcn.0056d39f
mov esi, dword [0x6b6578]
add esp, 0x20
test esi, esi
je 0x4bcb7d
lea ecx, [esp + 0x1e0]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.0046e310
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0046e310
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046e310
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0046e310
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0046e310
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046e310
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0046e310
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0046e310
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046e310
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0046e310
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0046e310
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046e310
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0046e310
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0046e310
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046e310
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0046e310
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0046e310
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046e310
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0046e310
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0046e310
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046e310
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0046e310
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.0046e310
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046e310
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0046e310
mov ecx, esi
call fcn.0046e440
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.0051cf20
test eax, eax
je 0x4bcbb1
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bcbb1
mov ecx, dword [0x6b657c]
test ecx, ecx
je 0x4bcbb1
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.0051cf20
test eax, eax
je 0x4bcbe4
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bcbe4
mov ecx, dword [0x6b63c0]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4bcbe0
push 1
jmp 0x4bcbe2
push 0
call eax
push 0x25
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bcbfa
push 0x38
mov ecx, edi
call fcn.0051cfc0
push 0x20
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bcc2d
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bcc2d
mov ecx, dword [0x6b65f4]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4bcc29
push 1
jmp 0x4bcc2b
push 0
call eax
cmp dword [esp + 0x10], 1
je 0x4bcd79
push 0x17
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bcc7a
push 0x38
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bcc7a
mov ecx, dword [0x6c414c]
mov word [esp + 0x11], 0x7f05
mov edx, dword [ecx + 0x129]
push 7
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6d5778
mov dword [esp + 0x1b], edx
call fcn.0051dfa0
push 0x31
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bccae
push 0x1d
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bccae
mov ecx, dword [0x6b65a8]
test ecx, ecx
je 0x4bccae
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.0051cf20
mov bl, 0x3c
test eax, eax
je 0x4bccf5
push 0x1d
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bccf5
mov eax, dword [0x6c4140]
push 0xb
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x6d5778
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x1f], 2
call fcn.0051dfa0
push 0x10
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bcd33
push 0x1d
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bcd33
mov edx, dword [0x6c4140]
push 7
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6d5778
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.0051dfa0
push 0x1e
mov ecx, edi
call fcn.0051cf20
test eax, eax
je 0x4bcd79
push 0x1d
mov ecx, edi
call fcn.0051cfc0
test eax, eax
je 0x4bcd79
mov ecx, dword [0x6c4140]
push 0xb
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x6d5778
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1f], 1
call fcn.0051dfa0
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
pop edi
pop ebp
xor ecx, esp
call fcn.0056ca39
add esp, 0x214
ret 4