Function at 0x40b654
Capabilities:
Hide graphical window

Disassembly:
jmp 0x525ed0
sub esp, 0x200
cmp dword [0x7a3a08], 0
push ebp
mov ebp, ecx
je 0x526aea
cmp dword [ebp + 0xbc8], 0
jne 0x526aea
cmp dword [0x7b4d38], 0
je 0x526aea
cmp dword [0x7a3b64], 7
jne 0x526aea
push ebx
push edi
mov edi, dword [esp + 0x210]
push 0x58
mov ecx, edi
call fcn.0040b280
mov ebx, 1
cmp eax, ebx
jne 0x525f3d
mov ecx, dword [0x7a4438]
mov edx, dword [0x7b4d38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x7c80a0], 0
mov dword [esp + 0x1c], 0
je 0x525f5a
cmp dword [ebp + 0xbc4], ebx
jne 0x525f5a
mov dword [esp + 0x1c], ebx
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x525f6c
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x525f7f
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x525f92
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x525fb3
mov ecx, dword [ebp + 0xbc4]
imul ecx, ecx, 0x29
add ecx, esi
add ecx, ecx
cmp dword [ebp + ecx*8 + 0x52c], 0
je 0x526005
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 0x526005
add eax, 0x53
add eax, eax
cmp dword [ebp + eax*8], 0
je 0x525fe9
movzx edx, word [ebp + ecx*8 + 0x528]
push edx
mov ecx, edi
call fcn.0040e19c
jmp 0x525ff9
movzx eax, word [ebp + ecx*8 + 0x528]
push eax
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x526005
push esi
mov ecx, ebp
call fcn.0040d639
inc esi
cmp esi, 0x29
jl 0x525f95
push 0x13
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x526102
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x526102
push 0
push 0x3880
mov ecx, 0x7eace8
call fcn.0040cd83
test eax, eax
je 0x526063
push 0x6554d8
push 0x1d
push 0x7b73a8
call fcn.0040198d
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
add esp, 0x200
ret 4
mov ecx, dword [0x7a4330]
cmp dword [ecx + 0x10], 0
je 0x526088
mov edx, dword [ecx]
pop esi
pop edi
pop ebx
pop ebp
add esp, 0x200
mov dword [esp + 4], 0
mov eax, dword [edx + 8]
jmp eax
cmp dword [0x7c5888], 0
je 0x5260cf
push 0x283
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
push 0x1d
push 0x7b73a8
call fcn.0040198d
mov ecx, dword [0x7a4330]
mov edx, dword [ecx]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
add esp, 0x200
mov dword [esp + 4], 0
mov eax, dword [edx + 8]
jmp eax
mov edx, dword [0x79adcc]
cmp byte [edx + 0x7b4848], 0
je 0x5260f9
push 0x649050
push 1
push 0x3aba
push 0x7b4278
call fcn.004088eb
add esp, 0x10
jmp 0x526102
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x526133
mov ecx, dword [0x7a4250]
test ecx, ecx
je 0x526ae7
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x52612f
push 0
jmp 0x526131
push 1
call edx
push 0x14
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x52618e
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x52618e
mov esi, dword [0x7a4484]
test esi, esi
je 0x526ae7
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x526175
push 1
call fcn.0040497b
mov ecx, esi
call fcn.004050e2
push 0
jmp 0x526185
push 0
call fcn.0040497b
mov ecx, esi
call fcn.0040fd8f
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 0x5261c8
push 0x8e6
mov ecx, 0x7b73a8
call fcn.00410d20
push eax
push 2
push 0x3ab5
push 0x7b4278
call fcn.004088eb
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x526215
call fcn.00402dbf
mov ecx, eax
call fcn.00409fc0
test eax, eax
jne 0x5261fe
call fcn.00402dbf
mov ecx, eax
call fcn.00408279
mov ecx, dword [0x7a44c4]
call fcn.00409c05
jmp 0x526215
call fcn.00402dbf
mov ecx, eax
call fcn.00402eb4
mov ecx, dword [0x7a44c4]
call fcn.0040ac5e
push 0x10
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x526259
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x526259
mov eax, dword [0x7a34c8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x52624a
mov ecx, dword [0x7a34c8]
push 0
push ecx
jmp 0x526253
mov edx, dword [0x7a34c8]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x7b5ef4], 0
je 0x526ae7
push 0x22
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x52629a
push 0x1d
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x52629a
mov ecx, dword [0x7a440c]
test ecx, ecx
je 0x52629a
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 0x5262ce
push 0x1d
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x5262ce
mov ecx, dword [0x7a4410]
test ecx, ecx
je 0x5262ce
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 0x526301
push 0x1d
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x526301
mov ecx, dword [0x7a4448]
cmp dword [ecx + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x5262fd
push 0
jmp 0x5262ff
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x52632b
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x52632b
xor eax, eax
cmp dword [0x7e88c8], eax
sete al
mov dword [0x7e88c8], eax
push 0xe
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x52634f
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x52634f
mov ecx, 0x7b4278
call fcn.004097be
push 0x19
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x526381
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x526381
xor dword [ebp + 0xbd0], 1
mov eax, dword [ebp + 0xbd0]
push eax
mov ecx, 0x7a5ea8
call fcn.004050dd
push 0x2e
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x5263b4
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x5263b4
cmp dword [0x7eb190], 4
mov ecx, 0x7eb178
jne 0x5263ad
push 0
jmp 0x5263af
push 4
call fcn.0040c78e
push 0x1e
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x5263f6
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x5263f6
mov esi, dword [0x7a43f0]
test esi, esi
je 0x5263f6
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 0x6554c4
mov ecx, esi
call fcn.0040d5fd
push 0x1f
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x52642a
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x52642a
mov ecx, dword [0x7a43c0]
test ecx, ecx
je 0x52642a
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 0x526717
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x526717
mov esi, dword [0x7a43c4]
test esi, esi
je 0x526717
mov ecx, dword [0x6554b4]
mov edx, dword [0x6554b8]
movzx eax, word [0x6554bc]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x6554be]
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 [0x6554a4]
mov ecx, dword [0x6554a8]
movzx edx, word [0x6554ac]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x6554ae]
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 [0x655494]
mov eax, dword [0x655498]
movzx ecx, word [0x65549c]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x65549e]
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 [0x655484]
mov edx, dword [0x655488]
movzx eax, word [0x65548c]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x65548e]
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 [0x655474]
mov ecx, dword [0x655478]
movzx edx, word [0x65547c]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x65547e]
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 [0x655464]
movzx ecx, word [0x65546c]
mov eax, dword [0x655468]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x65546e]
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 [0x655454]
mov edx, dword [0x655458]
movzx eax, word [0x65545c]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x65545e]
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 [0x655444]
mov ecx, dword [0x655448]
movzx edx, word [0x65544c]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x65544e]
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 0x5268eb
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x5268eb
lea eax, [esp + 0x1ed]
push 0x655434
push eax
mov byte [esp + 0x1f0], 0
call fcn.0060a295
lea ecx, [esp + 0x206]
push 0x655428
push ecx
call fcn.0060a295
lea edx, [esp + 0x39]
push 0x655420
push edx
mov byte [esp + 0x3c], 1
call fcn.0060a295
lea eax, [esp + 0x52]
push 0x655418
push eax
call fcn.0060a295
mov esi, dword [0x7a43c8]
add esp, 0x20
test esi, esi
je 0x5268eb
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.0040a4d9
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a4d9
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a4d9
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a4d9
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a4d9
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a4d9
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a4d9
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a4d9
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a4d9
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a4d9
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a4d9
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a4d9
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a4d9
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a4d9
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a4d9
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a4d9
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a4d9
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a4d9
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a4d9
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a4d9
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a4d9
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a4d9
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a4d9
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a4d9
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a4d9
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 0x52691f
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x52691f
mov ecx, dword [0x7a43cc]
test ecx, ecx
je 0x52691f
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 0x526952
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x526952
mov ecx, dword [0x7a4210]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x52694e
push 1
jmp 0x526950
push 0
call eax
push 0x25
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x526968
push 0x38
mov ecx, edi
call fcn.0040b280
push 0x20
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x52699b
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x52699b
mov ecx, dword [0x7a4444]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x526997
push 1
jmp 0x526999
push 0
call eax
cmp dword [esp + 0x20], 1
je 0x526ae7
push 0x17
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x5269e8
push 0x38
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x5269e8
mov ecx, dword [0x7b4d44]
mov word [esp + 0x11], 0x7f05
mov edx, dword [ecx + 0x129]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x7c8618
mov dword [esp + 0x1b], edx
call fcn.004112c0
push 0x31
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x526a1c
push 0x1d
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x526a1c
mov ecx, dword [0x7a43f8]
test ecx, ecx
je 0x526a1c
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 0x526a63
push 0x1d
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x526a63
mov eax, dword [0x7b4d38]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x7c8618
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x21], 2
call fcn.004112c0
push 0x10
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x526aa1
push 0x1d
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x526aa1
mov edx, dword [0x7b4d38]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x7c8618
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.004112c0
push 0x1e
mov ecx, edi
call fcn.00407329
test eax, eax
je 0x526ae7
push 0x1d
mov ecx, edi
call fcn.0040b280
test eax, eax
je 0x526ae7
mov ecx, dword [0x7b4d38]
push 0xd
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x7c8618
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x21], 1
call fcn.004112c0
pop esi
pop edi
pop ebx
pop ebp
add esp, 0x200
ret 4