Function at 0x4daf80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x6f405c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6f5d00], 0
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1f4], esi
je 0x4dbb57
cmp dword [esi + 0xa50], 0
jne 0x4dbb57
cmp dword [0x704158], 0
je 0x4dbb57
cmp dword [0x6f5d40], 7
jne 0x4dbb57
push ebx
push 0x58
mov ecx, edi
call fcn.0053c1d0
mov ebx, 1
cmp eax, ebx
jne 0x4daffc
mov ecx, dword [0x6f64f0]
mov edx, dword [0x704158]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x713fb0], 0
mov dword [ebp - 0x208], 0
je 0x4db01d
cmp dword [esi + 0xa4c], ebx
jne 0x4db01d
mov dword [ebp - 0x208], ebx
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db02f
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db042
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db055
and ebx, 0xfffffffe
or ebx, 8
xor esi, esi
jmp 0x4db060
cmp dword [ebp - 0x208], 0
mov ecx, dword [ebp - 0x1f4]
je 0x4db08d
mov eax, dword [ecx + 0xa4c]
imul eax, eax, 0x29
add eax, esi
lea edx, [eax*8]
sub edx, eax
cmp dword [ecx + edx*2 + 0x486], 0
je 0x4db0f5
mov eax, dword [ecx + 0xa4c]
imul eax, eax, 0x29
add eax, esi
lea edx, [eax*8]
sub edx, eax
test dword [ecx + edx*2 + 0x480], ebx
lea ecx, [ecx + edx*2]
je 0x4db0f5
add eax, 0x53
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp - 0x1f4]
cmp dword [eax + edx*2], 0
je 0x4db0d6
movzx ecx, word [ecx + 0x484]
push ecx
mov ecx, edi
call fcn.0053c160
jmp 0x4db0e5
movzx edx, word [ecx + 0x484]
push edx
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db0f5
mov ecx, dword [ebp - 0x1f4]
push esi
call fcn.004d9810
inc esi
cmp esi, 0x29
jl 0x4db060
push 0x13
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db1e5
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db1e5
push 0
push 0x3880
mov ecx, 0x730980
call fcn.00568d50
test eax, eax
je 0x4db15d
push 0x5d68ec
push 0x1d
push 0x705fd8
call fcn.004e0700
add esp, 0xc
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e593
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x6f63e8]
cmp dword [ecx + 0xe], 0
jne 0x4db197
cmp dword [0x711e84], 0
je 0x4db1b3
push 0x283
mov ecx, 0x705fd8
call fcn.004df390
push eax
push 0x1d
push 0x705fd8
call fcn.004e0700
mov ecx, dword [0x6f63e8]
add esp, 0xc
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 0
call edx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059e593
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x6ee90c]
cmp byte [eax + 0x703d48], 0
je 0x4db1dc
push 0x5cc638
push 1
push 0x3aba
push 0x703860
call fcn.0044c5d0
add esp, 0x10
jmp 0x4db1e5
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 1
call eax
push 0xc7
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db216
mov ecx, dword [0x6f6308]
test ecx, ecx
je 0x4dbb56
cmp dword [ecx + 0xe], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
je 0x4db212
push 0
jmp 0x4db214
push 1
call eax
push 0x14
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db271
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db271
mov esi, dword [0x6f653c]
test esi, esi
je 0x4dbb56
cmp dword [esi + 0xe], 0
mov ecx, esi
je 0x4db258
push 1
call fcn.004511f0
mov ecx, esi
call fcn.00451150
push 0
jmp 0x4db268
push 0
call fcn.004511f0
mov ecx, esi
call fcn.004510e0
push 1
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x3f
mov ecx, edi
call fcn.0053c120
push 0x41
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db2ab
push 0x8e6
mov ecx, 0x705fd8
call fcn.004df390
push eax
push 2
push 0x3ab5
push 0x703860
call fcn.0044c5d0
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db2f8
call fcn.00413570
mov ecx, eax
call fcn.00536a10
test eax, eax
jne 0x4db2e1
call fcn.00413570
mov ecx, eax
call fcn.00536a30
mov ecx, dword [0x6f657c]
call fcn.00536900
jmp 0x4db2f8
call fcn.00413570
mov ecx, eax
call fcn.00536cc0
mov ecx, dword [0x6f657c]
call fcn.005368b0
push 0x10
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db33c
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db33c
mov ecx, dword [0x6f57c0]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4db32e
mov edx, dword [0x6f57c0]
push 0
push edx
jmp 0x4db336
mov eax, dword [0x6f57c0]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x705024], 0
je 0x4dbb56
push 0x22
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db37d
push 0x1d
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db37d
mov ecx, dword [0x6f64c4]
test ecx, ecx
je 0x4db37d
mov edx, dword [ecx]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [ecx + 0xe], eax
sete al
push eax
call edx
push 0x13
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db3b1
push 0x1d
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db3b1
mov ecx, dword [0x6f64c8]
test ecx, ecx
je 0x4db3b1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0xe], edx
sete dl
push edx
call eax
push 0x20
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db3e4
push 0x1d
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db3e4
mov ecx, dword [0x6f6500]
cmp dword [ecx + 0xe], 1
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4db3e0
push 0
jmp 0x4db3e2
push 1
call eax
push 0x3b
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db40f
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db40f
xor ecx, ecx
cmp dword [0x72eb5c], ecx
sete cl
mov dword [0x72eb5c], ecx
push 0xe
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db433
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db433
mov ecx, 0x703860
call fcn.00449080
push 0x19
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db46b
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db46b
mov eax, dword [ebp - 0x1f4]
xor dword [eax + 0xa58], 1
mov eax, dword [eax + 0xa58]
push eax
mov ecx, 0x6f7a90
call fcn.0042bcb0
push 0x2e
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db49e
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db49e
cmp dword [0x730d48], 4
mov ecx, 0x730d30
jne 0x4db497
push 0
jmp 0x4db499
push 4
call fcn.00571870
push 0x1e
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db4e0
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db4e0
mov esi, dword [0x6f64a8]
test esi, esi
je 0x4db4e0
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [esi + 0xe], eax
mov ecx, esi
sete al
push eax
call edx
push 0x5d68d8
mov ecx, esi
call fcn.00489730
push 0x1f
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db514
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db514
mov ecx, dword [0x6f6478]
test ecx, ecx
je 0x4db514
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0xe], edx
sete dl
push edx
call eax
push 0x26
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db781
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db781
mov esi, dword [0x6f647c]
test esi, esi
je 0x4db781
mov ecx, dword [0x5d68cc]
mov edx, dword [0x5d68d0]
movzx eax, word [0x5d68d4]
mov dword [ebp - 0x44], ecx
movzx ecx, byte [0x5d68d6]
mov dword [ebp - 0x40], edx
lea edx, [ebp - 0x1c8]
mov byte [ebp - 0x3a], cl
push edx
mov ecx, esi
mov word [ebp - 0x2f], 0x800
mov dword [ebp - 0x1c8], 2
mov word [ebp - 0x3c], ax
call fcn.00488500
mov eax, dword [0x5d68c0]
mov ecx, dword [0x5d68c4]
movzx edx, word [0x5d68c8]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
movzx eax, byte [0x5d68ca]
lea ecx, [ebp - 0x1c8]
push ecx
mov ecx, esi
mov word [ebp - 0x2f], 0x2001
mov dword [ebp - 0x1c8], 4
mov word [ebp - 0x3c], dx
mov byte [ebp - 0x3a], al
call fcn.00488500
mov edx, dword [0x5d68b4]
mov eax, dword [0x5d68b8]
movzx ecx, word [0x5d68bc]
mov dword [ebp - 0x44], edx
movzx edx, byte [0x5d68be]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x1c8]
mov word [ebp - 0x3c], cx
mov ebx, 6
push eax
mov ecx, esi
mov word [ebp - 0x2f], 0x1002
mov dword [ebp - 0x1c8], ebx
mov byte [ebp - 0x3a], dl
call fcn.00488500
mov ecx, dword [0x5d68a8]
mov edx, dword [0x5d68ac]
movzx eax, word [0x5d68b0]
mov dword [ebp - 0x44], ecx
movzx ecx, byte [0x5d68b2]
mov dword [ebp - 0x40], edx
lea edx, [ebp - 0x1c8]
mov byte [ebp - 0x3a], cl
push edx
mov ecx, esi
mov word [ebp - 0x2f], 0x2003
mov dword [ebp - 0x1c8], 8
mov word [ebp - 0x3c], ax
call fcn.00488500
mov eax, dword [0x5d689c]
mov ecx, dword [0x5d68a0]
movzx edx, word [0x5d68a4]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
movzx eax, byte [0x5d68a6]
lea ecx, [ebp - 0x1c8]
push ecx
mov ecx, esi
mov word [ebp - 0x2f], 0x2004
mov dword [ebp - 0x1c8], 0xa
mov word [ebp - 0x3c], dx
mov byte [ebp - 0x3a], al
call fcn.00488500
mov edx, dword [0x5d6890]
movzx ecx, word [0x5d6898]
mov eax, dword [0x5d6894]
mov dword [ebp - 0x44], edx
movzx edx, byte [0x5d689a]
mov word [ebp - 0x2f], 0x405
mov dword [ebp - 0x1c8], 0xc
mov dword [ebp - 0x40], eax
mov word [ebp - 0x3c], cx
mov byte [ebp - 0x3a], dl
lea eax, [ebp - 0x1c8]
push eax
mov ecx, esi
call fcn.00488500
mov ecx, dword [0x5d6884]
mov edx, dword [0x5d6888]
movzx eax, word [0x5d688c]
mov dword [ebp - 0x44], ecx
movzx ecx, byte [0x5d688e]
mov dword [ebp - 0x40], edx
lea edx, [ebp - 0x1c8]
mov byte [ebp - 0x3a], cl
push edx
mov ecx, esi
mov word [ebp - 0x2f], 0x1006
mov dword [ebp - 0x1c8], 0xe
mov word [ebp - 0x3c], ax
call fcn.00488500
mov eax, dword [0x5d6878]
mov ecx, dword [0x5d687c]
movzx edx, word [0x5d6880]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
movzx eax, byte [0x5d6882]
lea ecx, [ebp - 0x1c8]
push ecx
mov ecx, esi
mov word [ebp - 0x2f], 0x2007
mov dword [ebp - 0x1c8], 0x10
mov word [ebp - 0x3c], dx
mov byte [ebp - 0x3a], al
call fcn.00488500
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [esi + 0xe], eax
mov ecx, esi
sete al
push eax
call edx
mov ecx, esi
call fcn.00488a80
push 0x24
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db936
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db936
lea eax, [ebp - 0x1eb]
push 0x5d686c
push eax
mov byte [ebp - 0x1f0], 0
call fcn.0059ec3f
lea ecx, [ebp - 0x1da]
push 0x5d6860
push ecx
call fcn.0059ec3f
lea edx, [ebp - 0x27]
push 0x5d6858
push edx
mov byte [ebp - 0x2c], 1
call fcn.0059ec3f
lea eax, [ebp - 0x16]
push 0x5d6850
push eax
call fcn.0059ec3f
mov esi, dword [0x6f6480]
add esp, 0x20
test esi, esi
je 0x4db936
lea ecx, [ebp - 0x1f0]
push ecx
mov ecx, esi
mov dword [esi + 0x236], 1
call fcn.00487350
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00487350
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00487350
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00487350
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00487350
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00487350
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00487350
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00487350
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00487350
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00487350
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00487350
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00487350
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00487350
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00487350
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00487350
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00487350
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00487350
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00487350
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00487350
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00487350
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00487350
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00487350
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.00487350
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00487350
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.00487350
mov ecx, esi
call fcn.00487460
mov edx, dword [esi]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [esi + 0xe], eax
mov ecx, esi
sete al
push eax
call edx
push 0x23
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db96a
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db96a
mov ecx, dword [0x6f6484]
test ecx, ecx
je 0x4db96a
mov eax, dword [ecx]
mov eax, dword [eax + 8]
xor edx, edx
cmp dword [ecx + 0xe], edx
sete dl
push edx
call eax
push 0x22
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db99d
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db99d
mov ecx, dword [0x6f62c8]
cmp dword [ecx + 0xe], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4db999
push 1
jmp 0x4db99b
push 0
call eax
push 0x25
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db9b3
push 0x38
mov ecx, edi
call fcn.0053c1d0
push 0x20
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4db9e6
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4db9e6
mov ecx, dword [0x6f64fc]
cmp dword [ecx + 0xe], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4db9e2
push 1
jmp 0x4db9e4
push 0
call eax
cmp dword [ebp - 0x208], 1
je 0x4dbb56
push 0x17
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4dba3b
push 0x38
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4dba3b
mov ecx, dword [0x704164]
mov word [ebp - 0x1ff], 0x7f05
mov edx, dword [ecx + 0x125]
push 9
lea eax, [ebp - 0x200]
push eax
mov ecx, 0x714448
mov dword [ebp - 0x1fd], edx
call fcn.0053d280
push 0x31
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4dba6f
push 0x1d
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4dba6f
mov ecx, dword [0x6f64b0]
test ecx, ecx
je 0x4dba6f
mov edx, dword [ecx]
mov edx, dword [edx + 8]
xor eax, eax
cmp dword [ecx + 0xe], eax
sete al
push eax
call edx
push 0x15
mov ecx, edi
call fcn.0053c120
mov bl, 0x3c
test eax, eax
je 0x4dbac0
push 0x1d
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4dbac0
mov eax, dword [0x704158]
push 0xd
lea ecx, [ebp - 0x204]
push ecx
mov ecx, 0x714448
mov byte [ebp - 0x203], bl
mov byte [ebp - 0x202], 0x29
mov dword [ebp - 0x201], eax
mov dword [ebp - 0x1fb], 2
call fcn.0053d280
push 0x10
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4dbb06
push 0x1d
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4dbb06
mov edx, dword [0x704158]
push 9
lea eax, [ebp - 0x200]
push eax
mov ecx, 0x714448
mov byte [ebp - 0x1ff], bl
mov byte [ebp - 0x1fe], 1
mov dword [ebp - 0x1fd], edx
call fcn.0053d280
push 0x1e
mov ecx, edi
call fcn.0053c120
test eax, eax
je 0x4dbb56
push 0x1d
mov ecx, edi
call fcn.0053c1d0
test eax, eax
je 0x4dbb56
mov ecx, dword [0x704158]
push 0xd
lea edx, [ebp - 0x204]
mov dword [ebp - 0x201], ecx
push edx
mov ecx, 0x714448
mov byte [ebp - 0x203], bl
mov byte [ebp - 0x202], 0x29
mov dword [ebp - 0x1fb], 1
call fcn.0053d280
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0059e593
mov esp, ebp
pop ebp
ret 4