Function at 0x4d6660
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x204
mov eax, dword [0x6d74f0]
xor eax, esp
mov dword [esp + 0x200], eax
cmp dword [0x6d9180], 0
push ebp
push edi
mov edi, dword [esp + 0x210]
mov ebp, ecx
je 0x4d725b
cmp dword [ebp + 0xbc8], 0
jne 0x4d725b
cmp dword [0x6e6cc0], 0
je 0x4d725b
cmp dword [0x5dc160], 7
jne 0x4d725b
push ebx
push 0x58
mov ecx, edi
call fcn.00534110
mov ebx, 1
cmp eax, ebx
jne 0x4d66db
mov ecx, dword [0x6d9958]
mov edx, dword [0x6e6cc0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x6d44e8], 0
mov dword [esp + 0x1c], 0
je 0x4d66f8
cmp dword [ebp + 0xbc4], ebx
jne 0x4d66f8
mov dword [esp + 0x1c], ebx
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d670a
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d671d
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6730
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x4d6751
mov ecx, dword [ebp + 0xbc4]
imul ecx, ecx, 0x29
add ecx, esi
add ecx, ecx
cmp dword [ebp + ecx*8 + 0x52c], 0
je 0x4d67a3
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 0x4d67a3
add eax, 0x53
add eax, eax
cmp dword [ebp + eax*8], 0
je 0x4d6787
movzx edx, word [ebp + ecx*8 + 0x528]
push edx
mov ecx, edi
call fcn.005340b0
jmp 0x4d6797
movzx eax, word [ebp + ecx*8 + 0x528]
push eax
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d67a3
push esi
mov ecx, ebp
call fcn.004d5040
inc esi
cmp esi, 0x29
jl 0x4d6733
push 0x13
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d6874
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6874
push 0
push 0x3880
mov ecx, 0x70b248
call fcn.0055e580
test eax, eax
je 0x4d67f9
push 0x5bc834
push 0x1d
push 0x6e87f0
call fcn.004dbf20
add esp, 0xc
jmp 0x4d7259
mov ecx, dword [0x6d9850]
cmp dword [ecx + 0x10], 0
jne 0x4d6833
cmp dword [0x6d2ab4], 0
je 0x4d6841
push 0x283
mov ecx, 0x6e87f0
call fcn.004daab0
push eax
push 0x1d
push 0x6e87f0
call fcn.004dbf20
mov ecx, dword [0x6d9850]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
jmp 0x4d7259
mov edx, dword [0x6c91f0]
cmp byte [edx + 0x6e68f0], 0
je 0x4d686b
push 0x5b2618
push 1
push 0x3aba
push 0x6c8410
call fcn.0044a450
add esp, 0x10
jmp 0x4d6874
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d68a5
mov ecx, dword [0x6d9770]
test ecx, ecx
je 0x4d7259
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x4d68a1
push 0
jmp 0x4d68a3
push 1
call edx
push 0x14
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d6900
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6900
mov esi, dword [0x6d99a4]
test esi, esi
je 0x4d7259
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x4d68e7
push 1
call fcn.0044ff00
mov ecx, esi
call fcn.0044fe60
push 0
jmp 0x4d68f7
push 0
call fcn.0044ff00
mov ecx, esi
call fcn.0044fdf0
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.00534070
push 0x41
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d693a
push 0x8e6
mov ecx, 0x6e87f0
call fcn.004daab0
push eax
push 2
push 0x3ab5
push 0x6c8410
call fcn.0044a450
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d6987
call fcn.00412990
mov ecx, eax
call fcn.0052e7c0
test eax, eax
jne 0x4d6970
call fcn.00412990
mov ecx, eax
call fcn.0052e7e0
mov ecx, dword [0x6d99e4]
call fcn.0052e6d0
jmp 0x4d6987
call fcn.00412990
mov ecx, eax
call fcn.0052ea20
mov ecx, dword [0x6d99e4]
call fcn.0052e680
push 0x10
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d69cb
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d69cb
mov eax, dword [0x6d8c40]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4d69bc
mov ecx, dword [0x6d8c40]
push 0
push ecx
jmp 0x4d69c5
mov edx, dword [0x6d8c40]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x6ca4bc], 0
je 0x4d7259
push 0x22
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d6a0c
push 0x1d
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6a0c
mov ecx, dword [0x6d992c]
test ecx, ecx
je 0x4d6a0c
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.00534070
test eax, eax
je 0x4d6a40
push 0x1d
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6a40
mov ecx, dword [0x6d9930]
test ecx, ecx
je 0x4d6a40
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.00534070
test eax, eax
je 0x4d6a73
push 0x1d
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6a73
mov ecx, dword [0x6d9968]
cmp dword [ecx + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x4d6a6f
push 0
jmp 0x4d6a71
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d6a9d
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6a9d
xor eax, eax
cmp dword [0x70947c], eax
sete al
mov dword [0x70947c], eax
push 0xe
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d6ac1
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6ac1
mov ecx, 0x6c8410
call fcn.00446c80
push 0x19
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d6af3
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6af3
xor dword [ebp + 0xbd0], 1
mov eax, dword [ebp + 0xbd0]
push eax
mov ecx, 0x6c79b0
call fcn.0042ae50
push 0x2e
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d6b26
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6b26
cmp dword [0x70b618], 4
mov ecx, 0x70b600
jne 0x4d6b1f
push 0
jmp 0x4d6b21
push 4
call fcn.00567e20
push 0x1e
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d6b68
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6b68
mov esi, dword [0x6d9910]
test esi, esi
je 0x4d6b68
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 0x5bc820
mov ecx, esi
call fcn.00488320
push 0x1f
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d6b9c
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6b9c
mov ecx, dword [0x6d98e0]
test ecx, ecx
je 0x4d6b9c
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.00534070
test eax, eax
je 0x4d6e89
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d6e89
mov esi, dword [0x6d98e4]
test esi, esi
je 0x4d6e89
mov ecx, dword [0x5bc814]
mov edx, dword [0x5bc818]
movzx eax, word [0x5bc81c]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5bc81e]
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.00487180
mov eax, dword [0x5bc808]
mov ecx, dword [0x5bc80c]
movzx edx, word [0x5bc810]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5bc812]
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.00487180
mov edx, dword [0x5bc7fc]
mov eax, dword [0x5bc800]
movzx ecx, word [0x5bc804]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x5bc806]
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.00487180
mov ecx, dword [0x5bc7f0]
mov edx, dword [0x5bc7f4]
movzx eax, word [0x5bc7f8]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5bc7fa]
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.00487180
mov eax, dword [0x5bc7e4]
mov ecx, dword [0x5bc7e8]
movzx edx, word [0x5bc7ec]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5bc7ee]
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.00487180
mov edx, dword [0x5bc7d8]
movzx ecx, word [0x5bc7e0]
mov eax, dword [0x5bc7dc]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x5bc7e2]
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.00487180
mov ecx, dword [0x5bc7cc]
mov edx, dword [0x5bc7d0]
movzx eax, word [0x5bc7d4]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5bc7d6]
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.00487180
mov eax, dword [0x5bc7c0]
mov ecx, dword [0x5bc7c4]
movzx edx, word [0x5bc7c8]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5bc7ca]
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.00487180
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.004876b0
push 0x24
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d705d
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d705d
lea eax, [esp + 0x1ed]
push 0x5bc7b4
push eax
mov byte [esp + 0x1f0], 0
call fcn.00591984
lea ecx, [esp + 0x206]
push 0x5bc7a8
push ecx
call fcn.00591984
lea edx, [esp + 0x39]
push 0x5bc7a0
push edx
mov byte [esp + 0x3c], 1
call fcn.00591984
lea eax, [esp + 0x52]
push 0x5bc798
push eax
call fcn.00591984
mov esi, dword [0x6d98e8]
add esp, 0x20
test esi, esi
je 0x4d705d
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.00486070
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00486070
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00486070
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00486070
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00486070
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00486070
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00486070
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00486070
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00486070
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00486070
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00486070
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00486070
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00486070
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00486070
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00486070
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00486070
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00486070
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00486070
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00486070
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00486070
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00486070
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00486070
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00486070
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00486070
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00486070
mov ecx, esi
call fcn.00486180
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.00534070
test eax, eax
je 0x4d7091
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d7091
mov ecx, dword [0x6d98ec]
test ecx, ecx
je 0x4d7091
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.00534070
test eax, eax
je 0x4d70c4
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d70c4
mov ecx, dword [0x6d9730]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4d70c0
push 1
jmp 0x4d70c2
push 0
call eax
push 0x25
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d70da
push 0x38
mov ecx, edi
call fcn.00534110
push 0x20
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d710d
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d710d
mov ecx, dword [0x6d9964]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4d7109
push 1
jmp 0x4d710b
push 0
call eax
cmp dword [esp + 0x20], 1
je 0x4d7259
push 0x17
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d715a
push 0x38
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d715a
mov ecx, dword [0x6e6ccc]
mov word [esp + 0x11], 0x7f05
mov edx, dword [ecx + 0x129]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6d4a00
mov dword [esp + 0x1b], edx
call fcn.005351c0
push 0x31
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d718e
push 0x1d
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d718e
mov ecx, dword [0x6d9918]
test ecx, ecx
je 0x4d718e
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.00534070
mov bl, 0x3c
test eax, eax
je 0x4d71d5
push 0x1d
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d71d5
mov eax, dword [0x6e6cc0]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x6d4a00
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x21], 2
call fcn.005351c0
push 0x10
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d7213
push 0x1d
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d7213
mov edx, dword [0x6e6cc0]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6d4a00
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.005351c0
push 0x1e
mov ecx, edi
call fcn.00534070
test eax, eax
je 0x4d7259
push 0x1d
mov ecx, edi
call fcn.00534110
test eax, eax
je 0x4d7259
mov ecx, dword [0x6e6cc0]
push 0xd
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x6d4a00
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x21], 1
call fcn.005351c0
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
pop edi
pop ebp
xor ecx, esp
call fcn.0059146f
add esp, 0x204
ret 4