Function at 0x528b80
Capabilities:
Hide graphical window

Disassembly:
jmp 0x528b80
sub esp, 0x204
mov eax, dword [0x7af4f8]
xor eax, esp
mov dword [esp + 0x200], eax
cmp dword [0x7b19e8], 0
push ebp
push edi
mov edi, dword [esp + 0x210]
mov ebp, ecx
je 0x52977b
cmp dword [ebp + 0xbc8], 0
jne 0x52977b
cmp dword [0x7c2d18], 0
je 0x52977b
cmp dword [0x7b1b44], 7
jne 0x52977b
push ebx
push 0x58
mov ecx, edi
call fcn.0040c775
mov ebx, 1
cmp eax, ebx
jne 0x528bfb
mov ecx, dword [0x7b2418]
mov edx, dword [0x7c2d18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x7d6080], 0
mov dword [esp + 0x1c], 0
je 0x528c18
cmp dword [ebp + 0xbc4], ebx
jne 0x528c18
mov dword [esp + 0x1c], ebx
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x528c2a
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x528c3d
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x528c50
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x528c71
mov ecx, dword [ebp + 0xbc4]
imul ecx, ecx, 0x29
add ecx, esi
add ecx, ecx
cmp dword [ebp + ecx*8 + 0x52c], 0
je 0x528cc3
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 0x528cc3
add eax, 0x53
add eax, eax
cmp dword [ebp + eax*8], 0
je 0x528ca7
movzx edx, word [ebp + ecx*8 + 0x528]
push edx
mov ecx, edi
call fcn.0040f691
jmp 0x528cb7
movzx eax, word [ebp + ecx*8 + 0x528]
push eax
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x528cc3
push esi
mov ecx, ebp
call fcn.0040eb2e
inc esi
cmp esi, 0x29
jl 0x528c53
push 0x13
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x528d94
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x528d94
push 0
push 0x3880
mov ecx, 0x7f8cc8
call fcn.0040e278
test eax, eax
je 0x528d19
push 0x660788
push 0x1d
push 0x7c5388
call fcn.0040198d
add esp, 0xc
jmp 0x529779
mov ecx, dword [0x7b2310]
cmp dword [ecx + 0x10], 0
jne 0x528d53
cmp dword [0x7d3868], 0
je 0x528d61
push 0x283
mov ecx, 0x7c5388
call fcn.00408599
push eax
push 0x1d
push 0x7c5388
call fcn.0040198d
mov ecx, dword [0x7b2310]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
jmp 0x529779
mov edx, dword [0x7a8dcc]
cmp byte [edx + 0x7c2828], 0
je 0x528d8b
push 0x6607b8
push 1
push 0x3aba
push 0x7c2258
call fcn.00409de0
add esp, 0x10
jmp 0x528d94
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x528dc5
mov ecx, dword [0x7b2230]
test ecx, ecx
je 0x529779
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x528dc1
push 0
jmp 0x528dc3
push 1
call edx
push 0x14
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x528e20
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x528e20
mov esi, dword [0x7b2464]
test esi, esi
je 0x529779
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x528e07
push 1
call fcn.0040497b
mov ecx, esi
call fcn.004050e2
push 0
jmp 0x528e17
push 0
call fcn.0040497b
mov ecx, esi
call fcn.00411284
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.00407329
push 0x41
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x528e5a
push 0x8e6
mov ecx, 0x7c5388
call fcn.00408599
push eax
push 2
push 0x3ab5
push 0x7c2258
call fcn.00409de0
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x528ea7
call fcn.00402dbf
mov ecx, eax
call fcn.0040b4b5
test eax, eax
jne 0x528e90
call fcn.00402dbf
mov ecx, eax
call fcn.00409174
mov ecx, dword [0x7b24a4]
call fcn.0040b0fa
jmp 0x528ea7
call fcn.00402dbf
mov ecx, eax
call fcn.00402eb4
mov ecx, dword [0x7b24a4]
call fcn.0040c153
push 0x10
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x528eeb
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x528eeb
mov eax, dword [0x7b14a8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x528edc
mov ecx, dword [0x7b14a8]
push 0
push ecx
jmp 0x528ee5
mov edx, dword [0x7b14a8]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x7c3ed4], 0
je 0x529779
push 0x22
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x528f2c
push 0x1d
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x528f2c
mov ecx, dword [0x7b23ec]
test ecx, ecx
je 0x528f2c
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.00407329
test eax, eax
je 0x528f60
push 0x1d
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x528f60
mov ecx, dword [0x7b23f0]
test ecx, ecx
je 0x528f60
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.00407329
test eax, eax
je 0x528f93
push 0x1d
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x528f93
mov ecx, dword [0x7b2428]
cmp dword [ecx + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x528f8f
push 0
jmp 0x528f91
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x528fbd
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x528fbd
xor eax, eax
cmp dword [0x7f68a8], eax
sete al
mov dword [0x7f68a8], eax
push 0xe
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x528fe1
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x528fe1
mov ecx, 0x7c2258
call fcn.0040acb3
push 0x19
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x529013
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x529013
xor dword [ebp + 0xbd0], 1
mov eax, dword [ebp + 0xbd0]
push eax
mov ecx, 0x7b3e88
call fcn.004050dd
push 0x2e
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x529046
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x529046
cmp dword [0x7f9170], 4
mov ecx, 0x7f9158
jne 0x52903f
push 0
jmp 0x529041
push 4
call fcn.0040dc83
push 0x1e
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x529088
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x529088
mov esi, dword [0x7b23d0]
test esi, esi
je 0x529088
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 0x6607a4
mov ecx, esi
call fcn.0040eaf2
push 0x1f
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x5290bc
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x5290bc
mov ecx, dword [0x7b23a0]
test ecx, ecx
je 0x5290bc
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.00407329
test eax, eax
je 0x5293a9
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x5293a9
mov esi, dword [0x7b23a4]
test esi, esi
je 0x5293a9
mov ecx, dword [0x660804]
mov edx, dword [0x660808]
movzx eax, word [0x66080c]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x66080e]
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.00403c42
mov eax, dword [0x660810]
mov ecx, dword [0x660814]
movzx edx, word [0x660818]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x66081a]
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.00403c42
mov edx, dword [0x66081c]
mov eax, dword [0x660820]
movzx ecx, word [0x660824]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x660826]
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.00403c42
mov ecx, dword [0x660828]
mov edx, dword [0x66082c]
movzx eax, word [0x660830]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x660832]
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.00403c42
mov eax, dword [0x660834]
mov ecx, dword [0x660838]
movzx edx, word [0x66083c]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x66083e]
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.00403c42
mov edx, dword [0x660840]
movzx ecx, word [0x660848]
mov eax, dword [0x660844]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x66084a]
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.00403c42
mov ecx, dword [0x66084c]
mov edx, dword [0x660850]
movzx eax, word [0x660854]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x660856]
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.00403c42
mov eax, dword [0x660858]
mov ecx, dword [0x66085c]
movzx edx, word [0x660860]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x660862]
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.00403c42
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.00407289
push 0x24
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x52957d
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x52957d
lea eax, [esp + 0x1ed]
push 0x660864
push eax
mov byte [esp + 0x1f0], 0
call fcn.00611035
lea ecx, [esp + 0x206]
push 0x660870
push ecx
call fcn.00611035
lea edx, [esp + 0x39]
push 0x66087c
push edx
mov byte [esp + 0x3c], 1
call fcn.00611035
lea eax, [esp + 0x52]
push 0x660884
push eax
call fcn.00611035
mov esi, dword [0x7b23a8]
add esp, 0x20
test esi, esi
je 0x52957d
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.0040b9ce
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040b9ce
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040b9ce
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040b9ce
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040b9ce
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040b9ce
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040b9ce
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040b9ce
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040b9ce
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040b9ce
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040b9ce
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040b9ce
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040b9ce
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040b9ce
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040b9ce
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040b9ce
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040b9ce
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040b9ce
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040b9ce
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040b9ce
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040b9ce
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040b9ce
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040b9ce
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040b9ce
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040b9ce
mov ecx, esi
call fcn.00404511
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.00407329
test eax, eax
je 0x5295b1
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x5295b1
mov ecx, dword [0x7b23ac]
test ecx, ecx
je 0x5295b1
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.00407329
test eax, eax
je 0x5295e4
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x5295e4
mov ecx, dword [0x7b21f0]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x5295e0
push 1
jmp 0x5295e2
push 0
call eax
push 0x25
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x5295fa
push 0x38
mov ecx, edi
call fcn.0040c775
push 0x20
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x52962d
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x52962d
mov ecx, dword [0x7b2424]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x529629
push 1
jmp 0x52962b
push 0
call eax
cmp dword [esp + 0x20], 1
je 0x529779
push 0x17
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x52967a
push 0x38
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x52967a
mov ecx, dword [0x7c2d24]
mov word [esp + 0x11], 0x7f05
mov edx, dword [ecx + 0x129]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x7d65f8
mov dword [esp + 0x1b], edx
call fcn.0040905c
push 0x31
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x5296ae
push 0x1d
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x5296ae
mov ecx, dword [0x7b23d8]
test ecx, ecx
je 0x5296ae
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.00407329
mov bl, 0x3c
test eax, eax
je 0x5296f5
push 0x1d
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x5296f5
mov eax, dword [0x7c2d18]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x7d65f8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x21], 2
call fcn.0040905c
push 0x10
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x529733
push 0x1d
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x529733
mov edx, dword [0x7c2d18]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x7d65f8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.0040905c
push 0x1e
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x529779
push 0x1d
mov ecx, edi
call fcn.0040c775
test eax, eax
je 0x529779
mov ecx, dword [0x7c2d18]
push 0xd
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x7d65f8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x21], 1
call fcn.0040905c
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
pop edi
pop ebp
xor ecx, esp
call fcn.006111ee
add esp, 0x204
ret 4