Function at 0x5246d0
Capabilities:
Hide graphical window

Disassembly:
jmp 0x5246d0
sub esp, 0x204
mov eax, dword [0x79d4f0]
xor eax, esp
mov dword [esp + 0x200], eax
cmp dword [0x79f9e8], 0
push ebp
push edi
mov edi, dword [esp + 0x210]
mov ebp, ecx
je 0x5252cb
cmp dword [ebp + 0xbc8], 0
jne 0x5252cb
cmp dword [0x7b0d18], 0
je 0x5252cb
cmp dword [0x79fb44], 7
jne 0x5252cb
push ebx
push 0x58
mov ecx, edi
call fcn.0040b16d
mov ebx, 1
cmp eax, ebx
jne 0x52474b
mov ecx, dword [0x7a0418]
mov edx, dword [0x7b0d18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x7c4080], 0
mov dword [esp + 0x1c], 0
je 0x524768
cmp dword [ebp + 0xbc4], ebx
jne 0x524768
mov dword [esp + 0x1c], ebx
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x52477a
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x52478d
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x5247a0
and ebx, 0xfffffffe
or ebx, 8
push esi
xor esi, esi
cmp dword [esp + 0x20], 0
je 0x5247c1
mov ecx, dword [ebp + 0xbc4]
imul ecx, ecx, 0x29
add ecx, esi
add ecx, ecx
cmp dword [ebp + ecx*8 + 0x52c], 0
je 0x524813
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 0x524813
add eax, 0x53
add eax, eax
cmp dword [ebp + eax*8], 0
je 0x5247f7
movzx edx, word [ebp + ecx*8 + 0x528]
push edx
mov ecx, edi
call fcn.0040de5e
jmp 0x524807
movzx eax, word [ebp + ecx*8 + 0x528]
push eax
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x524813
push esi
mov ecx, ebp
call fcn.0040d391
inc esi
cmp esi, 0x29
jl 0x5247a3
push 0x13
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x5248e4
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x5248e4
push 0
push 0x3880
mov ecx, 0x7e6cc8
call fcn.0040cb53
test eax, eax
je 0x524869
push 0x651458
push 0x1d
push 0x7b3388
call fcn.004018f2
add esp, 0xc
jmp 0x5252c9
mov ecx, dword [0x7a0310]
cmp dword [ecx + 0x10], 0
jne 0x5248a3
cmp dword [0x7c1868], 0
je 0x5248b1
push 0x283
mov ecx, 0x7b3388
call fcn.004107c6
push eax
push 0x1d
push 0x7b3388
call fcn.004018f2
mov ecx, dword [0x7a0310]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
jmp 0x5252c9
mov edx, dword [0x796dcc]
cmp byte [edx + 0x7b0828], 0
je 0x5248db
push 0x645020
push 1
push 0x3aba
push 0x7b0258
call fcn.00408a53
add esp, 0x10
jmp 0x5248e4
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524915
mov ecx, dword [0x7a0230]
test ecx, ecx
je 0x5252c9
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x524911
push 0
jmp 0x524913
push 1
call edx
push 0x14
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x524970
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524970
mov esi, dword [0x7a0464]
test esi, esi
je 0x5252c9
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x524957
push 1
call fcn.00404638
mov ecx, esi
call fcn.00404d54
push 0
jmp 0x524967
push 0
call fcn.00404638
mov ecx, esi
call fcn.0040f8e9
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.00406df2
push 0x41
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x5249aa
push 0x8e6
mov ecx, 0x7b3388
call fcn.004107c6
push eax
push 2
push 0x3ab5
push 0x7b0258
call fcn.00408a53
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x5249f7
call fcn.00402c2a
mov ecx, eax
call fcn.00409fc5
test eax, eax
jne 0x5249e0
call fcn.00402c2a
mov ecx, eax
call fcn.00407ea0
mov ecx, dword [0x7a04a4]
call fcn.00409c55
jmp 0x5249f7
call fcn.00402c2a
mov ecx, eax
call fcn.00402d1a
mov ecx, dword [0x7a04a4]
call fcn.0040abaa
push 0x10
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x524a3b
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524a3b
mov eax, dword [0x79f9d4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x524a2c
mov ecx, dword [0x79f9d4]
push 0
push ecx
jmp 0x524a35
mov edx, dword [0x79f9d4]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x7b1ed4], 0
je 0x5252c9
push 0x22
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x524a7c
push 0x1d
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524a7c
mov ecx, dword [0x7a03ec]
test ecx, ecx
je 0x524a7c
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.00406df2
test eax, eax
je 0x524ab0
push 0x1d
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524ab0
mov ecx, dword [0x7a03f0]
test ecx, ecx
je 0x524ab0
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.00406df2
test eax, eax
je 0x524ae3
push 0x1d
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524ae3
mov ecx, dword [0x7a0428]
cmp dword [ecx + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x524adf
push 0
jmp 0x524ae1
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x524b0d
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524b0d
xor eax, eax
cmp dword [0x7e48a8], eax
sete al
mov dword [0x7e48a8], eax
push 0xe
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x524b31
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524b31
mov ecx, 0x7b0258
call fcn.00409845
push 0x19
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x524b63
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524b63
xor dword [ebp + 0xbd0], 1
mov eax, dword [ebp + 0xbd0]
push eax
mov ecx, 0x7a1e88
call fcn.00404d4f
push 0x2e
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x524b96
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524b96
cmp dword [0x7e7170], 4
mov ecx, 0x7e7158
jne 0x524b8f
push 0
jmp 0x524b91
push 4
call fcn.0040c586
push 0x1e
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x524bd8
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524bd8
mov esi, dword [0x7a03d0]
test esi, esi
je 0x524bd8
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 0x651444
mov ecx, esi
call fcn.0040d35a
push 0x1f
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x524c0c
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524c0c
mov ecx, dword [0x7a03a0]
test ecx, ecx
je 0x524c0c
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.00406df2
test eax, eax
je 0x524ef9
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x524ef9
mov esi, dword [0x7a03a4]
test esi, esi
je 0x524ef9
mov ecx, dword [0x651434]
mov edx, dword [0x651438]
movzx eax, word [0x65143c]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x65143e]
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.004039d1
mov eax, dword [0x651424]
mov ecx, dword [0x651428]
movzx edx, word [0x65142c]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x65142e]
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.004039d1
mov edx, dword [0x651414]
mov eax, dword [0x651418]
movzx ecx, word [0x65141c]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x65141e]
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.004039d1
mov ecx, dword [0x651404]
mov edx, dword [0x651408]
movzx eax, word [0x65140c]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x65140e]
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.004039d1
mov eax, dword [0x6513f4]
mov ecx, dword [0x6513f8]
movzx edx, word [0x6513fc]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x6513fe]
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.004039d1
mov edx, dword [0x6513e4]
movzx ecx, word [0x6513ec]
mov eax, dword [0x6513e8]
mov dword [esp + 0x1d0], edx
movzx edx, byte [0x6513ee]
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.004039d1
mov ecx, dword [0x6513d4]
mov edx, dword [0x6513d8]
movzx eax, word [0x6513dc]
mov dword [esp + 0x1d0], ecx
movzx ecx, byte [0x6513de]
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.004039d1
mov eax, dword [0x6513c4]
mov ecx, dword [0x6513c8]
movzx edx, word [0x6513cc]
mov dword [esp + 0x1d4], ecx
mov dword [esp + 0x1d0], eax
movzx eax, byte [0x6513ce]
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.004039d1
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.00406d57
push 0x24
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x5250cd
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x5250cd
lea eax, [esp + 0x1ed]
push 0x6513b4
push eax
mov byte [esp + 0x1f0], 0
call fcn.00606889
lea ecx, [esp + 0x206]
push 0x6513a8
push ecx
call fcn.00606889
lea edx, [esp + 0x39]
push 0x6513a0
push edx
mov byte [esp + 0x3c], 1
call fcn.00606889
lea eax, [esp + 0x52]
push 0x651398
push eax
call fcn.00606889
mov esi, dword [0x7a03a8]
add esp, 0x20
test esi, esi
je 0x5250cd
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.0040a498
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a498
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a498
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a498
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a498
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a498
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a498
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a498
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a498
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a498
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a498
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a498
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a498
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a498
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a498
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a498
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a498
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a498
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a498
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a498
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a498
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a498
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0040a498
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040a498
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040a498
mov ecx, esi
call fcn.0040420a
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.00406df2
test eax, eax
je 0x525101
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x525101
mov ecx, dword [0x7a03ac]
test ecx, ecx
je 0x525101
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.00406df2
test eax, eax
je 0x525134
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x525134
mov ecx, dword [0x7a01f0]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x525130
push 1
jmp 0x525132
push 0
call eax
push 0x25
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x52514a
push 0x38
mov ecx, edi
call fcn.0040b16d
push 0x20
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x52517d
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x52517d
mov ecx, dword [0x7a0424]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x525179
push 1
jmp 0x52517b
push 0
call eax
cmp dword [esp + 0x20], 1
je 0x5252c9
push 0x17
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x5251ca
push 0x38
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x5251ca
mov ecx, dword [0x7b0d24]
mov word [esp + 0x11], 0x7f05
mov edx, dword [ecx + 0x129]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x7c45f8
mov dword [esp + 0x1b], edx
call fcn.00407d8d
push 0x31
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x5251fe
push 0x1d
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x5251fe
mov ecx, dword [0x7a03d8]
test ecx, ecx
je 0x5251fe
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.00406df2
mov bl, 0x3c
test eax, eax
je 0x525245
push 0x1d
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x525245
mov eax, dword [0x7b0d18]
push 0xd
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x7c45f8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x1b], eax
mov dword [esp + 0x21], 2
call fcn.00407d8d
push 0x10
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x525283
push 0x1d
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x525283
mov edx, dword [0x7b0d18]
push 9
lea eax, [esp + 0x14]
push eax
mov ecx, 0x7c45f8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 1
mov dword [esp + 0x1b], edx
call fcn.00407d8d
push 0x1e
mov ecx, edi
call fcn.00406df2
test eax, eax
je 0x5252c9
push 0x1d
mov ecx, edi
call fcn.0040b16d
test eax, eax
je 0x5252c9
mov ecx, dword [0x7b0d18]
push 0xd
lea edx, [esp + 0x14]
mov dword [esp + 0x17], ecx
push edx
mov ecx, 0x7c45f8
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x29
mov dword [esp + 0x21], 1
call fcn.00407d8d
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
pop edi
pop ebp
xor ecx, esp
call fcn.00606374
add esp, 0x204
ret 4