Function at 0x4c0d60
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x204
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x200], eax
cmp dword [0x6a9200], 0
push ebp
push edi
mov edi, dword [esp + 0x210]
mov ebp, ecx
je 0x4c198f
cmp dword [ebp + 0xbc8], 0
jne 0x4c198f
cmp dword [0x6b6da0], 0
je 0x4c198f
cmp dword [0x5ad1c4], 7
jne 0x4c198f
push ebx
push 0x58
mov ecx, edi
call fcn.0050d000
mov ebx, 1
cmp eax, ebx
jne 0x4c0ddb
mov ecx, dword [0x6a99e8]
mov edx, dword [0x6b6da0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x6a4da0], 0
mov dword [esp + 0x1c], 0
je 0x4c0df8
cmp dword [ebp + 0xbc4], ebx
jne 0x4c0df8
mov dword [esp + 0x1c], ebx
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c0e0a
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c0e1d
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c0e30
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x4c0e52
mov ecx, dword [ebp + 0xbc4]
imul ecx, ecx, 0x29
add ecx, esi
shl ecx, 4
cmp dword [ecx + ebp + 0x52c], 0
je 0x4c0ea5
mov edx, dword [ebp + 0xbc4]
imul edx, edx, 0x29
lea eax, [edx + esi]
mov ecx, eax
shl ecx, 4
add ecx, ebp
test dword [ecx + 0x524], ebx
je 0x4c0ea5
add eax, 0x53
shl eax, 4
cmp dword [eax + ebp], 0
je 0x4c0e8a
movzx edx, word [ecx + 0x528]
push edx
mov ecx, edi
call fcn.0050cfa0
jmp 0x4c0e99
movzx eax, word [ecx + 0x528]
push eax
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c0ea5
push esi
mov ecx, ebp
call fcn.004bf740
inc esi
cmp esi, 0x29
jl 0x4c0e33
push 0x13
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c0f76
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c0f76
push 0
push 0x3880
mov ecx, 0x6db7d0
call fcn.0052eee0
test eax, eax
je 0x4c0efb
push 0x589b34
push 0x1d
push 0x6b8950
call fcn.004c6390
add esp, 0xc
jmp 0x4c198d
mov ecx, dword [0x6a98e0]
cmp dword [ecx + 0x10], 0
jne 0x4c0f35
cmp dword [0x6a34b8], 0
je 0x4c0f43
push 0x283
mov ecx, 0x6b8950
call fcn.004c5020
push eax
push 0x1d
push 0x6b8950
call fcn.004c6390
mov ecx, dword [0x6a98e0]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
jmp 0x4c198d
mov edx, dword [0x699fdc]
cmp byte [edx + 0x6b6988], 0
je 0x4c0f6d
push 0x580310
push 1
push 0x3aba
push 0x6993d0
call fcn.00443430
add esp, 0x10
jmp 0x4c0f76
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c0fa7
mov ecx, dword [0x6a9800]
test ecx, ecx
je 0x4c198d
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x4c0fa3
push 0
jmp 0x4c0fa5
push 1
call edx
push 0x14
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c1002
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c1002
mov esi, dword [0x6a9a34]
test esi, esi
je 0x4c198d
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x4c0fe9
push 1
call fcn.00446670
mov ecx, esi
call fcn.00446630
push 0
jmp 0x4c0ff9
push 0
call fcn.00446670
mov ecx, esi
call fcn.004465e0
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.0050cf60
push 0x41
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c103c
push 0x8e6
mov ecx, 0x6b8950
call fcn.004c5020
push eax
push 2
push 0x3ab5
push 0x6993d0
call fcn.00443430
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c1089
call fcn.0040d2e0
mov ecx, eax
call fcn.00508850
test eax, eax
jne 0x4c1072
call fcn.0040d2e0
mov ecx, eax
call fcn.00508860
mov ecx, dword [0x6a9a74]
call fcn.005084c0
jmp 0x4c1089
call fcn.0040d2e0
mov ecx, eax
call fcn.00508da0
mov ecx, dword [0x6a9a74]
call fcn.00507210
push 0x10
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c10cd
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c10cd
mov eax, dword [0x6a91ec]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4c10be
mov ecx, dword [0x6a91ec]
push 0
push ecx
jmp 0x4c10c7
mov edx, dword [0x6a91ec]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x69b184], 0
je 0x4c198d
push 0x22
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c110e
push 0x1d
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c110e
mov ecx, dword [0x6a99bc]
test ecx, ecx
je 0x4c110e
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.0050cf60
test eax, eax
je 0x4c1142
push 0x1d
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c1142
mov ecx, dword [0x6a99c0]
test ecx, ecx
je 0x4c1142
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.0050cf60
test eax, eax
je 0x4c1175
push 0x1d
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c1175
mov ecx, dword [0x6a99f8]
cmp dword [ecx + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x4c1171
push 0
jmp 0x4c1173
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c119f
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c119f
xor eax, eax
cmp dword [0x6d99ac], eax
sete al
mov dword [0x6d99ac], eax
push 0xe
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c11c3
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c11c3
mov ecx, 0x6993d0
call fcn.00440e90
push 0x19
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c11f5
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c11f5
xor dword [ebp + 0xbd0], 1
mov eax, dword [ebp + 0xbd0]
push eax
mov ecx, 0x6989c0
call fcn.00424800
push 0x2e
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c1228
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c1228
cmp dword [0x6dbbb0], 4
mov ecx, 0x6dbb98
jne 0x4c1221
push 0
jmp 0x4c1223
push 4
call fcn.005392e0
push 0x1e
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c126a
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c126a
mov esi, dword [0x6a99a0]
test esi, esi
je 0x4c126a
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 0x589b20
mov ecx, esi
call fcn.005007b0
push 0x1f
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c129e
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c129e
mov ecx, dword [0x6a9970]
test ecx, ecx
je 0x4c129e
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.0050cf60
test eax, eax
je 0x4c15ba
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c15ba
mov esi, dword [0x6a9974]
test esi, esi
je 0x4c15ba
mov ecx, dword [0x589b14]
mov edx, dword [0x589b18]
movzx eax, word [0x589b1c]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x589b1e]
mov dword [esp + 0x1d4], edx
lea edx, [esp + 0x4c]
mov byte [esp + 0x1da], cl
push edx
mov ecx, esi
mov byte [esp + 0x1ea], 8
mov byte [esp + 0x1e9], 0
mov dword [esp + 0x50], 2
mov word [esp + 0x1dc], ax
call fcn.00477e20
mov eax, dword [0x589b08]
mov ecx, dword [0x589b0c]
movzx edx, word [0x589b10]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x589b12]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov byte [esp + 0x1ea], 0x20
mov byte [esp + 0x1e9], 1
mov dword [esp + 0x50], 4
mov word [esp + 0x1dc], dx
mov byte [esp + 0x1de], al
call fcn.00477e20
mov edx, dword [0x589afc]
mov eax, dword [0x589b00]
movzx ecx, word [0x589b04]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x589b06]
mov dword [esp + 0x1d4], eax
lea eax, [esp + 0x4c]
mov word [esp + 0x1d8], cx
mov ebx, 6
push eax
mov ecx, esi
mov byte [esp + 0x1ea], 0x10
mov byte [esp + 0x1e9], 2
mov dword [esp + 0x50], ebx
mov byte [esp + 0x1de], dl
call fcn.00477e20
mov ecx, dword [0x589af0]
mov edx, dword [0x589af4]
movzx eax, word [0x589af8]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x589afa]
mov dword [esp + 0x1d4], edx
lea edx, [esp + 0x4c]
mov byte [esp + 0x1da], cl
push edx
mov ecx, esi
mov byte [esp + 0x1ea], 0x20
mov byte [esp + 0x1e9], 3
mov dword [esp + 0x50], 8
mov word [esp + 0x1dc], ax
call fcn.00477e20
mov eax, dword [0x589ae4]
mov ecx, dword [0x589ae8]
movzx edx, word [0x589aec]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x589aee]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov byte [esp + 0x1ea], 0x20
mov byte [esp + 0x1e9], 4
mov dword [esp + 0x50], 0xa
mov word [esp + 0x1dc], dx
mov byte [esp + 0x1de], al
call fcn.00477e20
mov edx, dword [0x589ad8]
mov byte [esp + 0x1e6], 4
mov byte [esp + 0x1e5], 5
mov dword [esp + 0x4c], 0xc
mov dword [esp + 0x1d0], edx
mov eax, dword [0x589adc]
movzx ecx, word [0x589ae0]
movzx edx, byte [0x589ae2]
mov dword [esp + 0x1d4], eax
lea eax, [esp + 0x4c]
mov word [esp + 0x1d8], cx
push eax
mov ecx, esi
mov byte [esp + 0x1de], dl
call fcn.00477e20
mov ecx, dword [0x589acc]
mov edx, dword [0x589ad0]
movzx eax, word [0x589ad4]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x589ad6]
mov dword [esp + 0x1d4], edx
lea edx, [esp + 0x4c]
mov byte [esp + 0x1da], cl
push edx
mov ecx, esi
mov byte [esp + 0x1ea], 0x10
mov byte [esp + 0x1e9], bl
mov dword [esp + 0x50], 0xe
mov word [esp + 0x1dc], ax
call fcn.00477e20
mov eax, dword [0x589ac0]
mov ecx, dword [0x589ac4]
movzx edx, word [0x589ac8]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x589aca]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov byte [esp + 0x1ea], 0x20
mov byte [esp + 0x1e9], 7
mov dword [esp + 0x50], 0x10
mov word [esp + 0x1dc], dx
mov byte [esp + 0x1de], al
call fcn.00477e20
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.00478320
push 0x24
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c178e
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c178e
lea eax, [esp + 0x1ed]
push 0x589ab4
push eax
mov byte [esp + 0x1f0], 0
call fcn.0055adac
lea ecx, [esp + 0x206]
push 0x589aa8
push ecx
call fcn.0055adac
lea edx, [esp + 0x39]
push 0x589aa0
push edx
mov byte [esp + 0x3c], 1
call fcn.0055adac
lea eax, [esp + 0x52]
push 0x589a98
push eax
call fcn.0055adac
mov esi, dword [0x6a9978]
add esp, 0x20
test esi, esi
je 0x4c178e
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.00476c50
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00476c50
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00476c50
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00476c50
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00476c50
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00476c50
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00476c50
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00476c50
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00476c50
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00476c50
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00476c50
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00476c50
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00476c50
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00476c50
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00476c50
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00476c50
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00476c50
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00476c50
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00476c50
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00476c50
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00476c50
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00476c50
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00476c50
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00476c50
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00476c50
mov ecx, esi
call fcn.00476d80
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.0050cf60
test eax, eax
je 0x4c17c2
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c17c2
mov ecx, dword [0x6a997c]
test ecx, ecx
je 0x4c17c2
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.0050cf60
test eax, eax
je 0x4c17f5
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c17f5
mov ecx, dword [0x6a97c0]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4c17f1
push 1
jmp 0x4c17f3
push 0
call eax
push 0x25
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c180b
push 0x38
mov ecx, edi
call fcn.0050d000
push 0x20
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c183e
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c183e
mov ecx, dword [0x6a99f4]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4c183a
push 1
jmp 0x4c183c
push 0
call eax
cmp dword [esp + 0x20], 1
je 0x4c198d
push 0x17
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c188e
push 0x38
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c188e
mov ecx, dword [0x6b6dac]
mov byte [esp + 0x11], 5
mov byte [esp + 0x12], 0x7f
mov edx, dword [ecx + 0x129]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6a4e78
mov dword [esp + 0x1b], edx
call fcn.0050df10
push 0x31
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c18c2
push 0x1d
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c18c2
mov ecx, dword [0x6a99a8]
test ecx, ecx
je 0x4c18c2
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.0050cf60
mov bl, 0x3c
test eax, eax
je 0x4c1909
push 0x1d
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c1909
mov eax, dword [0x6b6da0]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x6a4e78
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x21], 2
call fcn.0050df10
push 0x10
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c1947
push 0x1d
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c1947
mov edx, dword [0x6b6da0]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6a4e78
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.0050df10
push 0x1e
mov ecx, edi
call fcn.0050cf60
test eax, eax
je 0x4c198d
push 0x1d
mov ecx, edi
call fcn.0050d000
test eax, eax
je 0x4c198d
mov ecx, dword [0x6b6da0]
push 0xd
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x6a4e78
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x21], 1
call fcn.0050df10
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
pop edi
pop ebp
xor ecx, esp
call fcn.0055a677
add esp, 0x204
ret 4