Function at 0x4cf940
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x204
mov eax, dword [0x70a108]
xor eax, esp
mov dword [esp + 0x200], eax
cmp dword [0x70bde0], 0
push ebp
push edi
mov edi, dword [esp + 0x210]
mov ebp, ecx
je 0x4d053b
cmp dword [ebp + 0xbc8], 0
jne 0x4d053b
cmp dword [0x71a258], 0
je 0x4d053b
cmp dword [0x70be20], 7
jne 0x4d053b
push ebx
push 0x58
mov ecx, edi
call fcn.00526bd0
mov ebx, 1
cmp eax, ebx
jne 0x4cf9bb
mov ecx, dword [0x70c5e8]
mov edx, dword [0x71a258]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x72a260], 0
mov dword [esp + 0x1c], 0
je 0x4cf9d8
cmp dword [ebp + 0xbc4], ebx
jne 0x4cf9d8
mov dword [esp + 0x1c], ebx
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cf9ea
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cf9fd
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfa10
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x4cfa31
mov ecx, dword [ebp + 0xbc4]
imul ecx, ecx, 0x29
add ecx, esi
add ecx, ecx
cmp dword [ebp + ecx*8 + 0x52c], 0
je 0x4cfa83
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 0x4cfa83
add eax, 0x53
add eax, eax
cmp dword [ebp + eax*8], 0
je 0x4cfa67
movzx edx, word [ebp + ecx*8 + 0x528]
push edx
mov ecx, edi
call fcn.00526b70
jmp 0x4cfa77
movzx eax, word [ebp + ecx*8 + 0x528]
push eax
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfa83
push esi
mov ecx, ebp
call fcn.004ce320
inc esi
cmp esi, 0x29
jl 0x4cfa13
push 0x13
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfb54
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfb54
push 0
push 0x3880
mov ecx, 0x7474a0
call fcn.0054fff0
test eax, eax
je 0x4cfad9
push 0x5ddb6c
push 0x1d
push 0x71c268
call fcn.004d4fc0
add esp, 0xc
jmp 0x4d0539
mov ecx, dword [0x70c4e0]
cmp dword [ecx + 0x10], 0
jne 0x4cfb13
cmp dword [0x728114], 0
je 0x4cfb21
push 0x283
mov ecx, 0x71c268
call fcn.004d3c70
push eax
push 0x1d
push 0x71c268
call fcn.004d4fc0
mov ecx, dword [0x70c4e0]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
jmp 0x4d0539
mov edx, dword [0x70490c]
cmp byte [edx + 0x719e40], 0
je 0x4cfb4b
push 0x5d2318
push 1
push 0x3aba
push 0x719958
call fcn.004471e0
add esp, 0x10
jmp 0x4cfb54
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfb85
mov ecx, dword [0x70c400]
test ecx, ecx
je 0x4d0539
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x4cfb81
push 0
jmp 0x4cfb83
push 1
call edx
push 0x14
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfbe0
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfbe0
mov esi, dword [0x70c634]
test esi, esi
je 0x4d0539
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x4cfbc7
push 1
call fcn.0044aff0
mov ecx, esi
call fcn.0044b2e0
push 0
jmp 0x4cfbd7
push 0
call fcn.0044aff0
mov ecx, esi
call fcn.0044b9b0
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.00526b30
push 0x41
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfc1a
push 0x8e6
mov ecx, 0x71c268
call fcn.004d3c70
push eax
push 2
push 0x3ab5
push 0x719958
call fcn.004471e0
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfc67
call fcn.0040ed30
mov ecx, eax
call fcn.00521bb0
test eax, eax
jne 0x4cfc50
call fcn.0040ed30
mov ecx, eax
call fcn.00521d80
mov ecx, dword [0x70c674]
call fcn.00521790
jmp 0x4cfc67
call fcn.0040ed30
mov ecx, eax
call fcn.00521bc0
mov ecx, dword [0x70c674]
call fcn.00521760
push 0x10
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfcab
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfcab
mov eax, dword [0x70bdcc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4cfc9c
mov ecx, dword [0x70bdcc]
push 0
push ecx
jmp 0x4cfca5
mov edx, dword [0x70bdcc]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x71b12c], 0
je 0x4d0539
push 0x22
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfcec
push 0x1d
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfcec
mov ecx, dword [0x70c5bc]
test ecx, ecx
je 0x4cfcec
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.00526b30
test eax, eax
je 0x4cfd20
push 0x1d
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfd20
mov ecx, dword [0x70c5c0]
test ecx, ecx
je 0x4cfd20
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.00526b30
test eax, eax
je 0x4cfd53
push 0x1d
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfd53
mov ecx, dword [0x70c5f8]
cmp dword [ecx + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x4cfd4f
push 0
jmp 0x4cfd51
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfd7d
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfd7d
xor eax, eax
cmp dword [0x74567c], eax
sete al
mov dword [0x74567c], eax
push 0xe
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfda1
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfda1
mov ecx, 0x719958
call fcn.00443c70
push 0x19
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfdd3
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfdd3
xor dword [ebp + 0xbd0], 1
mov eax, dword [ebp + 0xbd0]
push eax
mov ecx, 0x70db88
call fcn.00426df0
push 0x2e
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfe06
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfe06
cmp dword [0x747878], 4
mov ecx, 0x747860
jne 0x4cfdff
push 0
jmp 0x4cfe01
push 4
call fcn.0055eae0
push 0x1e
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfe48
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfe48
mov esi, dword [0x70c5a0]
test esi, esi
je 0x4cfe48
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 0x5ddb58
mov ecx, esi
call fcn.004831c0
push 0x1f
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4cfe7c
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4cfe7c
mov ecx, dword [0x70c570]
test ecx, ecx
je 0x4cfe7c
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.00526b30
test eax, eax
je 0x4d0169
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4d0169
mov esi, dword [0x70c574]
test esi, esi
je 0x4d0169
mov ecx, dword [0x5ddb4c]
mov edx, dword [0x5ddb50]
movzx eax, word [0x5ddb54]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5ddb56]
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.00481fb0
mov eax, dword [0x5ddb40]
mov ecx, dword [0x5ddb44]
movzx edx, word [0x5ddb48]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5ddb4a]
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.00481fb0
mov edx, dword [0x5ddb34]
mov eax, dword [0x5ddb38]
movzx ecx, word [0x5ddb3c]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x5ddb3e]
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.00481fb0
mov ecx, dword [0x5ddb28]
mov edx, dword [0x5ddb2c]
movzx eax, word [0x5ddb30]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5ddb32]
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.00481fb0
mov eax, dword [0x5ddb1c]
mov ecx, dword [0x5ddb20]
movzx edx, word [0x5ddb24]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5ddb26]
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.00481fb0
mov edx, dword [0x5ddb10]
movzx ecx, word [0x5ddb18]
mov eax, dword [0x5ddb14]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x5ddb1a]
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.00481fb0
mov ecx, dword [0x5ddb04]
mov edx, dword [0x5ddb08]
movzx eax, word [0x5ddb0c]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5ddb0e]
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.00481fb0
mov eax, dword [0x5ddaf8]
mov ecx, dword [0x5ddafc]
movzx edx, word [0x5ddb00]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5ddb02]
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.00481fb0
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.00482560
push 0x24
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4d033d
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4d033d
lea eax, [esp + 0x1ed]
push 0x5ddaec
push eax
mov byte [esp + 0x1f0], 0
call fcn.00586b40
lea ecx, [esp + 0x206]
push 0x5ddae0
push ecx
call fcn.00586b40
lea edx, [esp + 0x39]
push 0x5ddad8
push edx
mov byte [esp + 0x3c], 1
call fcn.00586b40
lea eax, [esp + 0x52]
push 0x5ddad0
push eax
call fcn.00586b40
mov esi, dword [0x70c578]
add esp, 0x20
test esi, esi
je 0x4d033d
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.00480e30
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00480e30
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00480e30
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00480e30
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00480e30
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00480e30
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00480e30
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00480e30
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00480e30
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00480e30
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00480e30
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00480e30
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00480e30
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00480e30
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00480e30
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00480e30
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00480e30
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00480e30
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00480e30
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00480e30
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00480e30
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00480e30
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00480e30
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00480e30
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00480e30
mov ecx, esi
call fcn.00480f40
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.00526b30
test eax, eax
je 0x4d0371
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4d0371
mov ecx, dword [0x70c57c]
test ecx, ecx
je 0x4d0371
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.00526b30
test eax, eax
je 0x4d03a4
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4d03a4
mov ecx, dword [0x70c3c0]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4d03a0
push 1
jmp 0x4d03a2
push 0
call eax
push 0x25
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4d03ba
push 0x38
mov ecx, edi
call fcn.00526bd0
push 0x20
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4d03ed
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4d03ed
mov ecx, dword [0x70c5f4]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4d03e9
push 1
jmp 0x4d03eb
push 0
call eax
cmp dword [esp + 0x20], 1
je 0x4d0539
push 0x17
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4d043a
push 0x38
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4d043a
mov ecx, dword [0x71a264]
mov word [esp + 0x11], 0x7f05
mov edx, dword [ecx + 0x129]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x72a6f8
mov dword [esp + 0x1b], edx
call fcn.00527c90
push 0x31
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4d046e
push 0x1d
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4d046e
mov ecx, dword [0x70c5a8]
test ecx, ecx
je 0x4d046e
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.00526b30
mov bl, 0x3c
test eax, eax
je 0x4d04b5
push 0x1d
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4d04b5
mov eax, dword [0x71a258]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x72a6f8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x21], 2
call fcn.00527c90
push 0x10
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4d04f3
push 0x1d
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4d04f3
mov edx, dword [0x71a258]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x72a6f8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.00527c90
push 0x1e
mov ecx, edi
call fcn.00526b30
test eax, eax
je 0x4d0539
push 0x1d
mov ecx, edi
call fcn.00526bd0
test eax, eax
je 0x4d0539
mov ecx, dword [0x71a258]
push 0xd
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x72a6f8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x21], 1
call fcn.00527c90
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
pop edi
pop ebp
xor ecx, esp
call fcn.00586d40
add esp, 0x204
ret 4