Function at 0x536ce0
Capabilities:
Hide graphical window

Disassembly:
jmp 0x536ce0
sub esp, 0x204
mov eax, dword [0x7ce4f0]
xor eax, esp
mov dword [esp + 0x200], eax
cmp dword [0x7d09e8], 0
push ebp
push edi
mov edi, dword [esp + 0x210]
mov ebp, ecx
je 0x5378db
cmp dword [ebp + 0xbc8], 0
jne 0x5378db
cmp dword [0x7e1d18], 0
je 0x5378db
cmp dword [0x7d0b44], 7
jne 0x5378db
push ebx
push 0x58
mov ecx, edi
call fcn.0040b15e
mov ebx, 1
cmp eax, ebx
jne 0x536d5b
mov ecx, dword [0x7d1418]
mov edx, dword [0x7e1d18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x7f5080], 0
mov dword [esp + 0x1c], 0
je 0x536d78
cmp dword [ebp + 0xbc4], ebx
jne 0x536d78
mov dword [esp + 0x1c], ebx
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x536d8a
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x536d9d
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x536db0
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x536dd1
mov ecx, dword [ebp + 0xbc4]
imul ecx, ecx, 0x29
add ecx, esi
add ecx, ecx
cmp dword [ebp + ecx*8 + 0x52c], 0
je 0x536e23
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 0x536e23
add eax, 0x53
add eax, eax
cmp dword [ebp + eax*8], 0
je 0x536e07
movzx edx, word [ebp + ecx*8 + 0x528]
push edx
mov ecx, edi
call fcn.0040de4f
jmp 0x536e17
movzx eax, word [ebp + ecx*8 + 0x528]
push eax
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x536e23
push esi
mov ecx, ebp
call fcn.0040d382
inc esi
cmp esi, 0x29
jl 0x536db3
push 0x13
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x536ef4
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x536ef4
push 0
push 0x3880
mov ecx, 0x817cc8
call fcn.0040cb44
test eax, eax
je 0x536e79
push 0x682528
push 0x1d
push 0x7e4388
call fcn.004018f2
add esp, 0xc
jmp 0x5378d9
mov ecx, dword [0x7d1310]
cmp dword [ecx + 0x10], 0
jne 0x536eb3
cmp dword [0x7f2868], 0
je 0x536ec1
push 0x283
mov ecx, 0x7e4388
call fcn.004107c1
push eax
push 0x1d
push 0x7e4388
call fcn.004018f2
mov ecx, dword [0x7d1310]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
jmp 0x5378d9
mov edx, dword [0x7c7dcc]
cmp byte [edx + 0x7e1828], 0
je 0x536eeb
push 0x676068
push 1
push 0x3aba
push 0x7e1258
call fcn.00408a3a
add esp, 0x10
jmp 0x536ef4
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x536f25
mov ecx, dword [0x7d1230]
test ecx, ecx
je 0x5378d9
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x536f21
push 0
jmp 0x536f23
push 1
call edx
push 0x14
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x536f80
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x536f80
mov esi, dword [0x7d1464]
test esi, esi
je 0x5378d9
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x536f67
push 1
call fcn.00404642
mov ecx, esi
call fcn.00404d5e
push 0
jmp 0x536f77
push 0
call fcn.00404642
mov ecx, esi
call fcn.0040f8df
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.00406e10
push 0x41
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x536fba
push 0x8e6
mov ecx, 0x7e4388
call fcn.004107c1
push eax
push 2
push 0x3ab5
push 0x7e1258
call fcn.00408a3a
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x537007
call fcn.00402c2a
mov ecx, eax
call fcn.00409fb1
test eax, eax
jne 0x536ff0
call fcn.00402c2a
mov ecx, eax
call fcn.00407e87
mov ecx, dword [0x7d14a4]
call fcn.00409c3c
jmp 0x537007
call fcn.00402c2a
mov ecx, eax
call fcn.00402d1a
mov ecx, dword [0x7d14a4]
call fcn.0040ab96
push 0x10
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x53704b
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x53704b
mov eax, dword [0x7d04a8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x53703c
mov ecx, dword [0x7d04a8]
push 0
push ecx
jmp 0x537045
mov edx, dword [0x7d04a8]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x7e2ed4], 0
je 0x5378d9
push 0x22
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x53708c
push 0x1d
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x53708c
mov ecx, dword [0x7d13ec]
test ecx, ecx
je 0x53708c
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.00406e10
test eax, eax
je 0x5370c0
push 0x1d
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x5370c0
mov ecx, dword [0x7d13f0]
test ecx, ecx
je 0x5370c0
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.00406e10
test eax, eax
je 0x5370f3
push 0x1d
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x5370f3
mov ecx, dword [0x7d1428]
cmp dword [ecx + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x5370ef
push 0
jmp 0x5370f1
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x53711d
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x53711d
xor eax, eax
cmp dword [0x8158a8], eax
sete al
mov dword [0x8158a8], eax
push 0xe
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x537141
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x537141
mov ecx, 0x7e1258
call fcn.0040982c
push 0x19
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x537173
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x537173
xor dword [ebp + 0xbd0], 1
mov eax, dword [ebp + 0xbd0]
push eax
mov ecx, 0x7d2e88
call fcn.00404d59
push 0x2e
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x5371a6
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x5371a6
cmp dword [0x818170], 4
mov ecx, 0x818158
jne 0x53719f
push 0
jmp 0x5371a1
push 4
call fcn.0040c577
push 0x1e
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x5371e8
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x5371e8
mov esi, dword [0x7d13d0]
test esi, esi
je 0x5371e8
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 0x682514
mov ecx, esi
call fcn.0040d34b
push 0x1f
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x53721c
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x53721c
mov ecx, dword [0x7d13a0]
test ecx, ecx
je 0x53721c
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.00406e10
test eax, eax
je 0x537509
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x537509
mov esi, dword [0x7d13a4]
test esi, esi
je 0x537509
mov ecx, dword [0x682504]
mov edx, dword [0x682508]
movzx eax, word [0x68250c]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x68250e]
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.004039d6
mov eax, dword [0x6824f4]
mov ecx, dword [0x6824f8]
movzx edx, word [0x6824fc]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x6824fe]
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.004039d6
mov edx, dword [0x6824e4]
mov eax, dword [0x6824e8]
movzx ecx, word [0x6824ec]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x6824ee]
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.004039d6
mov ecx, dword [0x6824d4]
mov edx, dword [0x6824d8]
movzx eax, word [0x6824dc]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x6824de]
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.004039d6
mov eax, dword [0x6824c4]
mov ecx, dword [0x6824c8]
movzx edx, word [0x6824cc]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x6824ce]
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.004039d6
mov edx, dword [0x6824b4]
movzx ecx, word [0x6824bc]
mov eax, dword [0x6824b8]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x6824be]
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.004039d6
mov ecx, dword [0x6824a4]
mov edx, dword [0x6824a8]
movzx eax, word [0x6824ac]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x6824ae]
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.004039d6
mov eax, dword [0x682494]
mov ecx, dword [0x682498]
movzx edx, word [0x68249c]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x68249e]
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.004039d6
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.00406d75
push 0x24
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x5376dd
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x5376dd
lea eax, [esp + 0x1ed]
push 0x682484
push eax
mov byte [esp + 0x1f0], 0
call fcn.00637c09
lea ecx, [esp + 0x206]
push 0x682478
push ecx
call fcn.00637c09
lea edx, [esp + 0x39]
push 0x682470
push edx
mov byte [esp + 0x3c], 1
call fcn.00637c09
lea eax, [esp + 0x52]
push 0x682468
push eax
call fcn.00637c09
mov esi, dword [0x7d13a8]
add esp, 0x20
test esi, esi
je 0x5376dd
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.0040a484
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a484
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a484
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a484
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a484
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a484
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a484
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a484
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a484
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a484
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a484
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a484
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a484
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a484
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a484
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a484
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a484
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a484
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a484
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a484
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a484
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a484
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a484
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a484
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a484
mov ecx, esi
call fcn.00404214
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.00406e10
test eax, eax
je 0x537711
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x537711
mov ecx, dword [0x7d13ac]
test ecx, ecx
je 0x537711
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.00406e10
test eax, eax
je 0x537744
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x537744
mov ecx, dword [0x7d11f0]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x537740
push 1
jmp 0x537742
push 0
call eax
push 0x25
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x53775a
push 0x38
mov ecx, edi
call fcn.0040b15e
push 0x20
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x53778d
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x53778d
mov ecx, dword [0x7d1424]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x537789
push 1
jmp 0x53778b
push 0
call eax
cmp dword [esp + 0x20], 1
je 0x5378d9
push 0x17
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x5377da
push 0x38
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x5377da
mov ecx, dword [0x7e1d24]
mov word [esp + 0x11], 0x7f05
mov edx, dword [ecx + 0x129]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x7f55f8
mov dword [esp + 0x1b], edx
call fcn.00407d74
push 0x31
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x53780e
push 0x1d
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x53780e
mov ecx, dword [0x7d13d8]
test ecx, ecx
je 0x53780e
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.00406e10
mov bl, 0x3c
test eax, eax
je 0x537855
push 0x1d
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x537855
mov eax, dword [0x7e1d18]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x7f55f8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x21], 2
call fcn.00407d74
push 0x10
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x537893
push 0x1d
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x537893
mov edx, dword [0x7e1d18]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x7f55f8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.00407d74
push 0x1e
mov ecx, edi
call fcn.00406e10
test eax, eax
je 0x5378d9
push 0x1d
mov ecx, edi
call fcn.0040b15e
test eax, eax
je 0x5378d9
mov ecx, dword [0x7e1d18]
push 0xd
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x7f55f8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x21], 1
call fcn.00407d74
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
pop edi
pop ebp
xor ecx, esp
call fcn.006376f4
add esp, 0x204
ret 4