Function at 0x4d31d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x204
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0x200], eax
cmp dword [0x6e4da0], 0
push ebp
push edi
mov edi, dword [esp + 0x210]
mov ebp, ecx
je 0x4d3dcb
cmp dword [ebp + 0xbc8], 0
jne 0x4d3dcb
cmp dword [0x6f3210], 0
je 0x4d3dcb
cmp dword [0x6e4de0], 7
jne 0x4d3dcb
push ebx
push 0x58
mov ecx, edi
call fcn.0052a470
mov ebx, 1
cmp eax, ebx
jne 0x4d324b
mov ecx, dword [0x6e55a0]
mov edx, dword [0x6f3210]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x703210], 0
mov dword [esp + 0x1c], 0
je 0x4d3268
cmp dword [ebp + 0xbc4], ebx
jne 0x4d3268
mov dword [esp + 0x1c], ebx
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d327a
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d328d
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d32a0
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x4d32c1
mov ecx, dword [ebp + 0xbc4]
imul ecx, ecx, 0x29
add ecx, esi
add ecx, ecx
cmp dword [ebp + ecx*8 + 0x52c], 0
je 0x4d3313
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 0x4d3313
add eax, 0x53
add eax, eax
cmp dword [ebp + eax*8], 0
je 0x4d32f7
movzx edx, word [ebp + ecx*8 + 0x528]
push edx
mov ecx, edi
call fcn.0052a410
jmp 0x4d3307
movzx eax, word [ebp + ecx*8 + 0x528]
push eax
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d3313
push esi
mov ecx, ebp
call fcn.004d1bb0
inc esi
cmp esi, 0x29
jl 0x4d32a3
push 0x13
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d33e4
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d33e4
push 0
push 0x3880
mov ecx, 0x7201a8
call fcn.00554280
test eax, eax
je 0x4d3369
push 0x5cbf60
push 0x1d
push 0x6f5218
call fcn.004d8470
add esp, 0xc
jmp 0x4d3dc9
mov ecx, dword [0x6e5498]
cmp dword [ecx + 0x10], 0
jne 0x4d33a3
cmp dword [0x7010c4], 0
je 0x4d33b1
push 0x283
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x1d
push 0x6f5218
call fcn.004d8470
mov ecx, dword [0x6e5498]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
jmp 0x4d3dc9
mov edx, dword [0x6dd90c]
cmp byte [edx + 0x6f2df8], 0
je 0x4d33db
push 0x5cbf90
push 1
push 0x3aba
push 0x6f2910
call fcn.004480a0
add esp, 0x10
jmp 0x4d33e4
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3415
mov ecx, dword [0x6e53b8]
test ecx, ecx
je 0x4d3dc9
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x4d3411
push 0
jmp 0x4d3413
push 1
call edx
push 0x14
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d3470
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3470
mov esi, dword [0x6e55ec]
test esi, esi
je 0x4d3dc9
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x4d3457
push 1
call fcn.0044c650
mov ecx, esi
call fcn.0044c5f0
push 0
jmp 0x4d3467
push 0
call fcn.0044c650
mov ecx, esi
call fcn.0044c5a0
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.0052a3d0
push 0x41
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d34aa
push 0x8e6
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 2
push 0x3ab5
push 0x6f2910
call fcn.004480a0
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d34f7
call fcn.0040d150
mov ecx, eax
call fcn.00525450
test eax, eax
jne 0x4d34e0
call fcn.0040d150
mov ecx, eax
call fcn.00525460
mov ecx, dword [0x6e562c]
call fcn.005253b0
jmp 0x4d34f7
call fcn.0040d150
mov ecx, eax
call fcn.00525650
mov ecx, dword [0x6e562c]
call fcn.00525380
push 0x10
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d353b
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d353b
mov eax, dword [0x6e4d8c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4d352c
mov ecx, dword [0x6e4d8c]
push 0
push ecx
jmp 0x4d3535
mov edx, dword [0x6e4d8c]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x6f40dc], 0
je 0x4d3dc9
push 0x22
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d357c
push 0x1d
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d357c
mov ecx, dword [0x6e5574]
test ecx, ecx
je 0x4d357c
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.0052a3d0
test eax, eax
je 0x4d35b0
push 0x1d
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d35b0
mov ecx, dword [0x6e5578]
test ecx, ecx
je 0x4d35b0
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.0052a3d0
test eax, eax
je 0x4d35e3
push 0x1d
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d35e3
mov ecx, dword [0x6e55b0]
cmp dword [ecx + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x4d35df
push 0
jmp 0x4d35e1
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d360d
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d360d
xor eax, eax
cmp dword [0x71e384], eax
sete al
mov dword [0x71e384], eax
push 0xe
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d3631
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3631
mov ecx, 0x6f2910
call fcn.00444b00
push 0x19
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d3663
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3663
xor dword [ebp + 0xbd0], 1
mov eax, dword [ebp + 0xbd0]
push eax
mov ecx, 0x6e6b40
call fcn.00426b20
push 0x2e
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d3696
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3696
cmp dword [0x720578], 4
mov ecx, 0x720560
jne 0x4d368f
push 0
jmp 0x4d3691
push 4
call fcn.00560290
push 0x1e
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d36d8
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d36d8
mov esi, dword [0x6e5558]
test esi, esi
je 0x4d36d8
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 0x5cbf7c
mov ecx, esi
call fcn.004832f0
push 0x1f
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d370c
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d370c
mov ecx, dword [0x6e5528]
test ecx, ecx
je 0x4d370c
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.0052a3d0
test eax, eax
je 0x4d39f9
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d39f9
mov esi, dword [0x6e552c]
test esi, esi
je 0x4d39f9
mov ecx, dword [0x5cbfdc]
mov edx, dword [0x5cbfe0]
movzx eax, word [0x5cbfe4]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5cbfe6]
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.00482160
mov eax, dword [0x5cbfe8]
mov ecx, dword [0x5cbfec]
movzx edx, word [0x5cbff0]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5cbff2]
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.00482160
mov edx, dword [0x5cbff4]
mov eax, dword [0x5cbff8]
movzx ecx, word [0x5cbffc]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x5cbffe]
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.00482160
mov ecx, dword [0x5cc000]
mov edx, dword [0x5cc004]
movzx eax, word [0x5cc008]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5cc00a]
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.00482160
mov eax, dword [0x5cc00c]
mov ecx, dword [0x5cc010]
movzx edx, word [0x5cc014]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5cc016]
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.00482160
mov edx, dword [0x5cc018]
movzx ecx, word [0x5cc020]
mov eax, dword [0x5cc01c]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x5cc022]
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.00482160
mov ecx, dword [0x5cc024]
mov edx, dword [0x5cc028]
movzx eax, word [0x5cc02c]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x5cc02e]
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.00482160
mov eax, dword [0x5cc030]
mov ecx, dword [0x5cc034]
movzx edx, word [0x5cc038]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x5cc03a]
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.00482160
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.00482690
push 0x24
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d3bcd
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3bcd
lea eax, [esp + 0x1ed]
push 0x5cc03c
push eax
mov byte [esp + 0x1f0], 0
call fcn.0058a079
lea ecx, [esp + 0x206]
push 0x5cc048
push ecx
call fcn.0058a079
lea edx, [esp + 0x39]
push 0x5cc054
push edx
mov byte [esp + 0x3c], 1
call fcn.0058a079
lea eax, [esp + 0x52]
push 0x5cc05c
push eax
call fcn.0058a079
mov esi, dword [0x6e5530]
add esp, 0x20
test esi, esi
je 0x4d3bcd
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.004810b0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810b0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810b0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810b0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810b0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810b0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810b0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810b0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810b0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810b0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810b0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810b0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810b0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810b0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810b0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810b0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810b0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810b0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810b0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810b0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810b0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810b0
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004810b0
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.004810b0
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004810b0
mov ecx, esi
call fcn.004811c0
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.0052a3d0
test eax, eax
je 0x4d3c01
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3c01
mov ecx, dword [0x6e5534]
test ecx, ecx
je 0x4d3c01
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.0052a3d0
test eax, eax
je 0x4d3c34
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3c34
mov ecx, dword [0x6e5378]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4d3c30
push 1
jmp 0x4d3c32
push 0
call eax
push 0x25
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d3c4a
push 0x38
mov ecx, edi
call fcn.0052a470
push 0x20
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d3c7d
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3c7d
mov ecx, dword [0x6e55ac]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4d3c79
push 1
jmp 0x4d3c7b
push 0
call eax
cmp dword [esp + 0x20], 1
je 0x4d3dc9
push 0x17
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d3cca
push 0x38
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3cca
mov ecx, dword [0x6f321c]
mov word [esp + 0x11], 0x7f05
mov edx, dword [ecx + 0x129]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x7036a8
mov dword [esp + 0x1b], edx
call fcn.0052b560
push 0x31
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d3cfe
push 0x1d
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3cfe
mov ecx, dword [0x6e5560]
test ecx, ecx
je 0x4d3cfe
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.0052a3d0
mov bl, 0x3c
test eax, eax
je 0x4d3d45
push 0x1d
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3d45
mov eax, dword [0x6f3210]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x7036a8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x21], 2
call fcn.0052b560
push 0x10
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d3d83
push 0x1d
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3d83
mov edx, dword [0x6f3210]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x7036a8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.0052b560
push 0x1e
mov ecx, edi
call fcn.0052a3d0
test eax, eax
je 0x4d3dc9
push 0x1d
mov ecx, edi
call fcn.0052a470
test eax, eax
je 0x4d3dc9
mov ecx, dword [0x6f3210]
push 0xd
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x7036a8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x21], 1
call fcn.0052b560
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
pop edi
pop ebp
xor ecx, esp
call fcn.00589b64
add esp, 0x204
ret 4