Function at 0x4d0280
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x204
mov eax, dword [0x6c6060]
xor eax, esp
mov dword [esp + 0x200], eax
cmp dword [0x6c7ce0], 0
push ebp
push edi
mov edi, dword [esp + 0x210]
mov ebp, ecx
je 0x4d0e94
cmp dword [ebp + 0xa50], 0
jne 0x4d0e94
cmp dword [0x6d6138], 0
je 0x4d0e94
cmp dword [0x6c7d20], 7
jne 0x4d0e94
push ebx
push 0x58
mov ecx, edi
call fcn.0052cd20
mov ebx, 1
cmp eax, ebx
jne 0x4d02fb
mov ecx, dword [0x6c84d0]
mov edx, dword [0x6d6138]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x6e5f90], 0
mov dword [esp + 0x1c], 0
je 0x4d0318
cmp dword [ebp + 0xa4c], ebx
jne 0x4d0318
mov dword [esp + 0x1c], ebx
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d032a
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d033d
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0350
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x4d0378
mov eax, dword [ebp + 0xa4c]
imul eax, eax, 0x29
add eax, esi
lea ecx, [eax*8]
sub ecx, eax
cmp dword [ebp + ecx*2 + 0x486], 0
je 0x4d03d8
mov eax, dword [ebp + 0xa4c]
imul eax, eax, 0x29
add eax, esi
lea ecx, [eax*8]
sub ecx, eax
test dword [ebp + ecx*2 + 0x480], ebx
lea ecx, [ebp + ecx*2]
je 0x4d03d8
add eax, 0x53
lea edx, [eax*8]
sub edx, eax
cmp dword [ebp + edx*2], 0
je 0x4d03bd
movzx eax, word [ecx + 0x484]
push eax
mov ecx, edi
call fcn.0052ccc0
jmp 0x4d03cc
movzx ecx, word [ecx + 0x484]
push ecx
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d03d8
push esi
mov ecx, ebp
call fcn.004cec70
inc esi
cmp esi, 0x29
jl 0x4d0353
push 0x13
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d04ad
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d04ad
push 0
push 0x3880
mov ecx, 0x702960
call fcn.00556a00
test eax, eax
je 0x4d0432
push 0x5b48cc
push 0x1d
push 0x6d7fb8
call fcn.004d5710
add esp, 0xc
jmp 0x4d0e92
mov ecx, dword [0x6c83c8]
cmp dword [ecx + 0xe], 0
jne 0x4d046c
cmp dword [0x6e3e64], 0
je 0x4d047a
push 0x283
mov ecx, 0x6d7fb8
call fcn.004d44e0
push eax
push 0x1d
push 0x6d7fb8
call fcn.004d5710
mov ecx, dword [0x6c83c8]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
jmp 0x4d0e92
mov edx, dword [0x6c090c]
cmp byte [edx + 0x6d5d28], 0
je 0x4d04a4
push 0x5aa618
push 1
push 0x3aba
push 0x6d5840
call fcn.00449170
add esp, 0x10
jmp 0x4d04ad
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d04de
mov ecx, dword [0x6c82e8]
test ecx, ecx
je 0x4d0e92
cmp dword [ecx + 0xe], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x4d04da
push 0
jmp 0x4d04dc
push 1
call edx
push 0x14
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0539
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0539
mov esi, dword [0x6c851c]
test esi, esi
je 0x4d0e92
cmp dword [esi + 0xe], 0
mov ecx, esi
je 0x4d0520
push 1
call fcn.0044d9b0
mov ecx, esi
call fcn.0044d910
push 0
jmp 0x4d0530
push 0
call fcn.0044d9b0
mov ecx, esi
call fcn.0044d8a0
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.0052cc80
push 0x41
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0573
push 0x8e6
mov ecx, 0x6d7fb8
call fcn.004d44e0
push eax
push 2
push 0x3ab5
push 0x6d5840
call fcn.00449170
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d05c0
call fcn.00412cc0
mov ecx, eax
call fcn.00527990
test eax, eax
jne 0x4d05a9
call fcn.00412cc0
mov ecx, eax
call fcn.005279b0
mov ecx, dword [0x6c855c]
call fcn.00527880
jmp 0x4d05c0
call fcn.00412cc0
mov ecx, eax
call fcn.00527c40
mov ecx, dword [0x6c855c]
call fcn.00527830
push 0x10
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0604
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0604
mov eax, dword [0x6c77a0]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4d05f5
mov ecx, dword [0x6c77a0]
push 0
push ecx
jmp 0x4d05fe
mov edx, dword [0x6c77a0]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x6d7004], 0
je 0x4d0e92
push 0x22
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0645
push 0x1d
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0645
mov ecx, dword [0x6c84a4]
test ecx, ecx
je 0x4d0645
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0xe], edx
sete dl
push edx
call eax
push 0x13
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0679
push 0x1d
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0679
mov ecx, dword [0x6c84a8]
test ecx, ecx
je 0x4d0679
mov edx, dword [ecx]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [ecx + 0xe], eax
sete al
push eax
call edx
push 0x20
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d06ac
push 0x1d
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d06ac
mov ecx, dword [0x6c84e0]
cmp dword [ecx + 0xe], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x4d06a8
push 0
jmp 0x4d06aa
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d06d6
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d06d6
xor eax, eax
cmp dword [0x700b3c], eax
sete al
mov dword [0x700b3c], eax
push 0xe
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d06fa
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d06fa
mov ecx, 0x6d5840
call fcn.00445bd0
push 0x19
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d072c
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d072c
xor dword [ebp + 0xa58], 1
mov eax, dword [ebp + 0xa58]
push eax
mov ecx, 0x6c9a70
call fcn.0042a850
push 0x2e
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d075f
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d075f
cmp dword [0x702d28], 4
mov ecx, 0x702d10
jne 0x4d0758
push 0
jmp 0x4d075a
push 4
call fcn.0055f6e0
push 0x1e
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d07a1
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d07a1
mov esi, dword [0x6c8488]
test esi, esi
je 0x4d07a1
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [esi + 0xe], eax
mov ecx, esi
sete al
push eax
call edx
push 0x5b48b8
mov ecx, esi
call fcn.004832b0
push 0x1f
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d07d5
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d07d5
mov ecx, dword [0x6c8458]
test ecx, ecx
je 0x4d07d5
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0xe], edx
sete dl
push edx
call eax
push 0x26
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0ac2
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0ac2
mov esi, dword [0x6c845c]
test esi, esi
je 0x4d0ac2
mov ecx, dword [0x5b48ac]
mov edx, dword [0x5b48b0]
movzx eax, word [0x5b48b4]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5b48b6]
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.00482120
mov eax, dword [0x5b48a0]
mov ecx, dword [0x5b48a4]
movzx edx, word [0x5b48a8]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5b48aa]
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.00482120
mov edx, dword [0x5b4894]
mov eax, dword [0x5b4898]
movzx ecx, word [0x5b489c]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x5b489e]
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.00482120
mov ecx, dword [0x5b4888]
mov edx, dword [0x5b488c]
movzx eax, word [0x5b4890]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5b4892]
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.00482120
mov eax, dword [0x5b487c]
mov ecx, dword [0x5b4880]
movzx edx, word [0x5b4884]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5b4886]
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.00482120
mov edx, dword [0x5b4870]
movzx ecx, word [0x5b4878]
mov eax, dword [0x5b4874]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x5b487a]
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.00482120
mov ecx, dword [0x5b4864]
mov edx, dword [0x5b4868]
movzx eax, word [0x5b486c]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5b486e]
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.00482120
mov eax, dword [0x5b4858]
mov ecx, dword [0x5b485c]
movzx edx, word [0x5b4860]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5b4862]
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.00482120
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [esi + 0xe], eax
mov ecx, esi
sete al
push eax
call edx
mov ecx, esi
call fcn.00482650
push 0x24
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0c96
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0c96
lea eax, [esp + 0x1ed]
push 0x5b484c
push eax
mov byte [esp + 0x1f0], 0
call fcn.0058abce
lea ecx, [esp + 0x206]
push 0x5b4840
push ecx
call fcn.0058abce
lea edx, [esp + 0x39]
push 0x5b4838
push edx
mov byte [esp + 0x3c], 1
call fcn.0058abce
lea eax, [esp + 0x52]
push 0x5b4830
push eax
call fcn.0058abce
mov esi, dword [0x6c8460]
add esp, 0x20
test esi, esi
je 0x4d0c96
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, esi
mov dword [esi + 0x236], 1
call fcn.004810a0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810a0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810a0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810a0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810a0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810a0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810a0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810a0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810a0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810a0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810a0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810a0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810a0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810a0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810a0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810a0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810a0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810a0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810a0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810a0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810a0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810a0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810a0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810a0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810a0
mov ecx, esi
call fcn.004811b0
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [esi + 0xe], eax
mov ecx, esi
sete al
push eax
call edx
push 0x23
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0cca
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0cca
mov ecx, dword [0x6c8464]
test ecx, ecx
je 0x4d0cca
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0xe], edx
sete dl
push edx
call eax
push 0x22
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0cfd
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0cfd
mov ecx, dword [0x6c82a8]
cmp dword [ecx + 0xe], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4d0cf9
push 1
jmp 0x4d0cfb
push 0
call eax
push 0x25
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0d13
push 0x38
mov ecx, edi
call fcn.0052cd20
push 0x20
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0d46
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0d46
mov ecx, dword [0x6c84dc]
cmp dword [ecx + 0xe], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4d0d42
push 1
jmp 0x4d0d44
push 0
call eax
cmp dword [esp + 0x20], 1
je 0x4d0e92
push 0x17
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0d93
push 0x38
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0d93
mov ecx, dword [0x6d6144]
mov word [esp + 0x11], 0x7f05
mov edx, dword [ecx + 0x125]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6e6428
mov dword [esp + 0x1b], edx
call fcn.0052dc90
push 0x31
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0dc7
push 0x1d
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0dc7
mov ecx, dword [0x6c8490]
test ecx, ecx
je 0x4d0dc7
mov edx, dword [ecx]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [ecx + 0xe], eax
sete al
push eax
call edx
push 0x15
mov ecx, edi
call fcn.0052cc80
mov bl, 0x3c
test eax, eax
je 0x4d0e0e
push 0x1d
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0e0e
mov eax, dword [0x6d6138]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x6e6428
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x21], 2
call fcn.0052dc90
push 0x10
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0e4c
push 0x1d
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0e4c
mov edx, dword [0x6d6138]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x6e6428
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.0052dc90
push 0x1e
mov ecx, edi
call fcn.0052cc80
test eax, eax
je 0x4d0e92
push 0x1d
mov ecx, edi
call fcn.0052cd20
test eax, eax
je 0x4d0e92
mov ecx, dword [0x6d6138]
push 0xd
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x6e6428
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x21], 1
call fcn.0052dc90
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
pop edi
pop ebp
xor ecx, esp
call fcn.0058a6b9
add esp, 0x204
ret 4