Function at 0x4d0ed0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x204
mov eax, dword [0x6e50b4]
xor eax, esp
mov dword [esp + 0x200], eax
cmp dword [0x6e6d60], 0
push ebp
push edi
mov edi, dword [esp + 0x210]
mov ebp, ecx
je 0x4d1acb
cmp dword [ebp + 0xbc8], 0
jne 0x4d1acb
cmp dword [0x6f48a0], 0
je 0x4d1acb
cmp dword [0x5ea160], 7
jne 0x4d1acb
push ebx
push 0x58
mov ecx, edi
call fcn.00529040
mov ebx, 1
cmp eax, ebx
jne 0x4d0f4b
mov ecx, dword [0x6e7538]
mov edx, dword [0x6f48a0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x6e24f8], 0
mov dword [esp + 0x1c], 0
je 0x4d0f68
cmp dword [ebp + 0xbc4], ebx
jne 0x4d0f68
mov dword [esp + 0x1c], ebx
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d0f7a
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d0f8d
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d0fa0
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x4d0fc1
mov ecx, dword [ebp + 0xbc4]
imul ecx, ecx, 0x29
add ecx, esi
add ecx, ecx
cmp dword [ebp + ecx*8 + 0x52c], 0
je 0x4d1013
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 0x4d1013
add eax, 0x53
add eax, eax
cmp dword [ebp + eax*8], 0
je 0x4d0ff7
movzx edx, word [ebp + ecx*8 + 0x528]
push edx
mov ecx, edi
call fcn.00528fe0
jmp 0x4d1007
movzx eax, word [ebp + ecx*8 + 0x528]
push eax
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d1013
push esi
mov ecx, ebp
call fcn.004cf8b0
inc esi
cmp esi, 0x29
jl 0x4d0fa3
push 0x13
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d10e4
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d10e4
push 0
push 0x3880
mov ecx, 0x719258
call fcn.00550f90
test eax, eax
je 0x4d1069
push 0x5bd85c
push 0x1d
push 0x6f63d0
call fcn.004d6a60
add esp, 0xc
jmp 0x4d1ac9
mov ecx, dword [0x6e7430]
cmp dword [ecx + 0x10], 0
jne 0x4d10a3
cmp dword [0x6e0ab4], 0
je 0x4d10b1
push 0x283
mov ecx, 0x6f63d0
call fcn.004d54d0
push eax
push 0x1d
push 0x6f63d0
call fcn.004d6a60
mov ecx, dword [0x6e7430]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
jmp 0x4d1ac9
mov edx, dword [0x6d71f0]
cmp byte [edx + 0x6f44d0], 0
je 0x4d10db
push 0x5b35d8
push 1
push 0x3aba
push 0x6d6410
call fcn.00446260
add esp, 0x10
jmp 0x4d10e4
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d1115
mov ecx, dword [0x6e7350]
test ecx, ecx
je 0x4d1ac9
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x4d1111
push 0
jmp 0x4d1113
push 1
call edx
push 0x14
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d1170
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d1170
mov esi, dword [0x6e7584]
test esi, esi
je 0x4d1ac9
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x4d1157
push 1
call fcn.0044bd40
mov ecx, esi
call fcn.0044bce0
push 0
jmp 0x4d1167
push 0
call fcn.0044bd40
mov ecx, esi
call fcn.0044bc70
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.00528fa0
push 0x41
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d11aa
push 0x8e6
mov ecx, 0x6f63d0
call fcn.004d54d0
push eax
push 2
push 0x3ab5
push 0x6d6410
call fcn.00446260
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d11f7
call fcn.0040cf70
mov ecx, eax
call fcn.005238d0
test eax, eax
jne 0x4d11e0
call fcn.0040cf70
mov ecx, eax
call fcn.005238e0
mov ecx, dword [0x6e75c4]
call fcn.00523810
jmp 0x4d11f7
call fcn.0040cf70
mov ecx, eax
call fcn.00523ad0
mov ecx, dword [0x6e75c4]
call fcn.005237e0
push 0x10
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d123b
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d123b
mov eax, dword [0x6e6d4c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4d122c
mov ecx, dword [0x6e6d4c]
push 0
push ecx
jmp 0x4d1235
mov edx, dword [0x6e6d4c]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x6d84bc], 0
je 0x4d1ac9
push 0x22
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d127c
push 0x1d
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d127c
mov ecx, dword [0x6e750c]
test ecx, ecx
je 0x4d127c
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.00528fa0
test eax, eax
je 0x4d12b0
push 0x1d
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d12b0
mov ecx, dword [0x6e7510]
test ecx, ecx
je 0x4d12b0
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.00528fa0
test eax, eax
je 0x4d12e3
push 0x1d
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d12e3
mov ecx, dword [0x6e7548]
cmp dword [ecx + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x4d12df
push 0
jmp 0x4d12e1
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d130d
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d130d
xor eax, eax
cmp dword [0x71748c], eax
sete al
mov dword [0x71748c], eax
push 0xe
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d1331
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d1331
mov ecx, 0x6d6410
call fcn.00442a40
push 0x19
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d1363
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d1363
xor dword [ebp + 0xbd0], 1
mov eax, dword [ebp + 0xbd0]
push eax
mov ecx, 0x6d59b0
call fcn.00425670
push 0x2e
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d1396
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d1396
cmp dword [0x719628], 4
mov ecx, 0x719610
jne 0x4d138f
push 0
jmp 0x4d1391
push 4
call fcn.0055aba0
push 0x1e
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d13d8
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d13d8
mov esi, dword [0x6e74f0]
test esi, esi
je 0x4d13d8
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 0x5bd848
mov ecx, esi
call fcn.00483da0
push 0x1f
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d140c
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d140c
mov ecx, dword [0x6e74c0]
test ecx, ecx
je 0x4d140c
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.00528fa0
test eax, eax
je 0x4d16f9
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d16f9
mov esi, dword [0x6e74c4]
test esi, esi
je 0x4d16f9
mov ecx, dword [0x5bd83c]
mov edx, dword [0x5bd840]
movzx eax, word [0x5bd844]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5bd846]
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.00482b80
mov eax, dword [0x5bd830]
mov ecx, dword [0x5bd834]
movzx edx, word [0x5bd838]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5bd83a]
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.00482b80
mov edx, dword [0x5bd824]
mov eax, dword [0x5bd828]
movzx ecx, word [0x5bd82c]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x5bd82e]
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.00482b80
mov ecx, dword [0x5bd818]
mov edx, dword [0x5bd81c]
movzx eax, word [0x5bd820]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5bd822]
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.00482b80
mov eax, dword [0x5bd80c]
mov ecx, dword [0x5bd810]
movzx edx, word [0x5bd814]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5bd816]
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.00482b80
mov edx, dword [0x5bd800]
movzx ecx, word [0x5bd808]
mov eax, dword [0x5bd804]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x5bd80a]
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.00482b80
mov ecx, dword [0x5bd7f4]
mov edx, dword [0x5bd7f8]
movzx eax, word [0x5bd7fc]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5bd7fe]
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.00482b80
mov eax, dword [0x5bd7e8]
mov ecx, dword [0x5bd7ec]
movzx edx, word [0x5bd7f0]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5bd7f2]
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.00482b80
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.00483130
push 0x24
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d18cd
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d18cd
lea eax, [esp + 0x1ed]
push 0x5bd7dc
push eax
mov byte [esp + 0x1f0], 0
call fcn.00582c5f
lea ecx, [esp + 0x206]
push 0x5bd7d0
push ecx
call fcn.00582c5f
lea edx, [esp + 0x39]
push 0x5bd7c8
push edx
mov byte [esp + 0x3c], 1
call fcn.00582c5f
lea eax, [esp + 0x52]
push 0x5bd7c0
push eax
call fcn.00582c5f
mov esi, dword [0x6e74c8]
add esp, 0x20
test esi, esi
je 0x4d18cd
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.00481900
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00481900
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00481900
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00481900
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00481900
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00481900
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00481900
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00481900
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00481900
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00481900
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00481900
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00481900
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00481900
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00481900
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00481900
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00481900
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00481900
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00481900
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00481900
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00481900
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00481900
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00481900
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.00481900
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00481900
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00481900
mov ecx, esi
call fcn.00481a10
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.00528fa0
test eax, eax
je 0x4d1901
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d1901
mov ecx, dword [0x6e74cc]
test ecx, ecx
je 0x4d1901
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.00528fa0
test eax, eax
je 0x4d1934
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d1934
mov ecx, dword [0x6e7310]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4d1930
push 1
jmp 0x4d1932
push 0
call eax
push 0x25
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d194a
push 0x38
mov ecx, edi
call fcn.00529040
push 0x20
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d197d
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d197d
mov ecx, dword [0x6e7544]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4d1979
push 1
jmp 0x4d197b
push 0
call eax
cmp dword [esp + 0x20], 1
je 0x4d1ac9
push 0x17
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d19ca
push 0x38
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d19ca
mov ecx, dword [0x6f48ac]
mov word [esp + 0x11], 0x7f05
mov edx, dword [ecx + 0x129]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6e25d0
mov dword [esp + 0x1b], edx
call fcn.0052a1c0
push 0x31
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d19fe
push 0x1d
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d19fe
mov ecx, dword [0x6e74f8]
test ecx, ecx
je 0x4d19fe
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.00528fa0
mov bl, 0x3c
test eax, eax
je 0x4d1a45
push 0x1d
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d1a45
mov eax, dword [0x6f48a0]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x6e25d0
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x21], 2
call fcn.0052a1c0
push 0x10
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d1a83
push 0x1d
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d1a83
mov edx, dword [0x6f48a0]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6e25d0
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.0052a1c0
push 0x1e
mov ecx, edi
call fcn.00528fa0
test eax, eax
je 0x4d1ac9
push 0x1d
mov ecx, edi
call fcn.00529040
test eax, eax
je 0x4d1ac9
mov ecx, dword [0x6f48a0]
push 0xd
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x6e25d0
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x21], 1
call fcn.0052a1c0
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
pop edi
pop ebp
xor ecx, esp
call fcn.005825b3
add esp, 0x204
ret 4