Function at 0x4db620
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x6fb05c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6fcd00], 0
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1f4], esi
je 0x4dc1dd
cmp dword [esi + 0xbc8], 0
jne 0x4dc1dd
cmp dword [0x70b170], 0
je 0x4dc1dd
cmp dword [0x6fcd40], 7
jne 0x4dc1dd
push ebx
push 0x58
mov ecx, edi
call fcn.0053c620
mov ebx, 1
cmp eax, ebx
jne 0x4db69c
mov ecx, dword [0x6fd500]
mov edx, dword [0x70b170]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x71b170], 0
mov dword [ebp - 0x208], 0
je 0x4db6bd
cmp dword [esi + 0xbc4], ebx
jne 0x4db6bd
mov dword [ebp - 0x208], ebx
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4db6cf
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4db6e2
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4db6f5
and ebx, 0xfffffffe
or ebx, 8
mov edx, dword [ebp - 0x1f4]
xor esi, esi
lea ecx, [ecx]
cmp dword [ebp - 0x208], 0
je 0x4db720
mov ecx, dword [edx + 0xbc4]
imul ecx, ecx, 0x29
add ecx, esi
add ecx, ecx
cmp dword [edx + ecx*8 + 0x52c], 0
je 0x4db77b
mov eax, dword [edx + 0xbc4]
imul eax, eax, 0x29
add eax, esi
mov ecx, eax
add ecx, ecx
test dword [edx + ecx*8 + 0x524], ebx
je 0x4db77b
add eax, 0x53
add eax, eax
cmp dword [edx + eax*8], 0
je 0x4db755
movzx edx, word [edx + ecx*8 + 0x528]
push edx
mov ecx, edi
call fcn.0053c5b0
jmp 0x4db765
movzx eax, word [edx + ecx*8 + 0x528]
push eax
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4db775
mov ecx, dword [ebp - 0x1f4]
push esi
call fcn.004d9ea0
mov edx, dword [ebp - 0x1f4]
inc esi
cmp esi, 0x29
jl 0x4db700
push 0x13
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4db86c
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4db86c
push 0
push 0x3880
mov ecx, 0x738108
call fcn.005690d0
test eax, eax
je 0x4db7e3
push 0x5d9ee8
push 0x1d
push 0x70d178
call fcn.004e0dc0
add esp, 0xc
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059eb13
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x6fd3f8]
cmp dword [ecx + 0x10], 0
jne 0x4db81d
cmp dword [0x719024], 0
je 0x4db839
push 0x283
mov ecx, 0x70d178
call fcn.004dfa40
push eax
push 0x1d
push 0x70d178
call fcn.004e0dc0
mov ecx, dword [0x6fd3f8]
add esp, 0xc
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0
call eax
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059eb13
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x6f590c]
cmp byte [edx + 0x70ad58], 0
je 0x4db863
push 0x5d9f18
push 1
push 0x3aba
push 0x70a870
call fcn.0044c830
add esp, 0x10
jmp 0x4db86c
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4db89d
mov ecx, dword [0x6fd318]
test ecx, ecx
je 0x4dc1dc
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x4db899
push 0
jmp 0x4db89b
push 1
call edx
push 0x14
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4db8f8
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4db8f8
mov esi, dword [0x6fd54c]
test esi, esi
je 0x4dc1dc
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x4db8df
push 1
call fcn.00451440
mov ecx, esi
call fcn.004513a0
push 0
jmp 0x4db8ef
push 0
call fcn.00451440
mov ecx, esi
call fcn.00451330
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.0053c570
push 0x41
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4db932
push 0x8e6
mov ecx, 0x70d178
call fcn.004dfa40
push eax
push 2
push 0x3ab5
push 0x70a870
call fcn.0044c830
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4db97f
call fcn.00413740
mov ecx, eax
call fcn.00536e60
test eax, eax
jne 0x4db968
call fcn.00413740
mov ecx, eax
call fcn.00536e80
mov ecx, dword [0x6fd58c]
call fcn.00536d50
jmp 0x4db97f
call fcn.00413740
mov ecx, eax
call fcn.00537110
mov ecx, dword [0x6fd58c]
call fcn.00536d00
push 0x10
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4db9c3
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4db9c3
mov eax, dword [0x6fc7c0]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4db9b4
mov ecx, dword [0x6fc7c0]
push 0
push ecx
jmp 0x4db9bd
mov edx, dword [0x6fc7c0]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x70c03c], 0
je 0x4dc1dc
push 0x22
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dba04
push 0x1d
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dba04
mov ecx, dword [0x6fd4d4]
test ecx, ecx
je 0x4dba04
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.0053c570
test eax, eax
je 0x4dba38
push 0x1d
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dba38
mov ecx, dword [0x6fd4d8]
test ecx, ecx
je 0x4dba38
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.0053c570
test eax, eax
je 0x4dba6b
push 0x1d
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dba6b
mov ecx, dword [0x6fd510]
cmp dword [ecx + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x4dba67
push 0
jmp 0x4dba69
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dba95
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dba95
xor eax, eax
cmp dword [0x7362e4], eax
sete al
mov dword [0x7362e4], eax
push 0xe
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dbab9
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dbab9
mov ecx, 0x70a870
call fcn.004492e0
push 0x19
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dbaf1
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dbaf1
mov eax, dword [ebp - 0x1f4]
xor dword [eax + 0xbd0], 1
mov eax, dword [eax + 0xbd0]
push eax
mov ecx, 0x6feaa0
call fcn.0042bf10
push 0x2e
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dbb24
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dbb24
cmp dword [0x7384d8], 4
mov ecx, 0x7384c0
jne 0x4dbb1d
push 0
jmp 0x4dbb1f
push 4
call fcn.00571d90
push 0x1e
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dbb66
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dbb66
mov esi, dword [0x6fd4b8]
test esi, esi
je 0x4dbb66
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 0x5d9f04
mov ecx, esi
call fcn.004898d0
push 0x1f
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dbb9a
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dbb9a
mov ecx, dword [0x6fd488]
test ecx, ecx
je 0x4dbb9a
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.0053c570
test eax, eax
je 0x4dbe07
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dbe07
mov esi, dword [0x6fd48c]
test esi, esi
je 0x4dbe07
mov ecx, dword [0x5d9f64]
mov edx, dword [0x5d9f68]
movzx eax, word [0x5d9f6c]
mov dword [ebp - 0x44], ecx
movzx ecx, byte [0x5d9f6e]
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.004886a0
mov eax, dword [0x5d9f70]
mov ecx, dword [0x5d9f74]
movzx edx, word [0x5d9f78]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
movzx eax, byte [0x5d9f7a]
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.004886a0
mov edx, dword [0x5d9f7c]
mov eax, dword [0x5d9f80]
movzx ecx, word [0x5d9f84]
mov dword [ebp - 0x44], edx
movzx edx, byte [0x5d9f86]
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.004886a0
mov ecx, dword [0x5d9f88]
mov edx, dword [0x5d9f8c]
movzx eax, word [0x5d9f90]
mov dword [ebp - 0x44], ecx
movzx ecx, byte [0x5d9f92]
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.004886a0
mov eax, dword [0x5d9f94]
mov ecx, dword [0x5d9f98]
movzx edx, word [0x5d9f9c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
movzx eax, byte [0x5d9f9e]
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.004886a0
mov edx, dword [0x5d9fa0]
movzx ecx, word [0x5d9fa8]
mov eax, dword [0x5d9fa4]
mov dword [ebp - 0x44], edx
movzx edx, byte [0x5d9faa]
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.004886a0
mov ecx, dword [0x5d9fac]
mov edx, dword [0x5d9fb0]
movzx eax, word [0x5d9fb4]
mov dword [ebp - 0x44], ecx
movzx ecx, byte [0x5d9fb6]
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.004886a0
mov eax, dword [0x5d9fb8]
mov ecx, dword [0x5d9fbc]
movzx edx, word [0x5d9fc0]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
movzx eax, byte [0x5d9fc2]
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.004886a0
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.00488c20
push 0x24
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dbfbc
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dbfbc
lea eax, [ebp - 0x1eb]
push 0x5d9fc4
push eax
mov byte [ebp - 0x1f0], 0
call fcn.0059f1bf
lea ecx, [ebp - 0x1da]
push 0x5d9fd0
push ecx
call fcn.0059f1bf
lea edx, [ebp - 0x27]
push 0x5d9fdc
push edx
mov byte [ebp - 0x2c], 1
call fcn.0059f1bf
lea eax, [ebp - 0x16]
push 0x5d9fe4
push eax
call fcn.0059f1bf
mov esi, dword [0x6fd490]
add esp, 0x20
test esi, esi
je 0x4dbfbc
lea ecx, [ebp - 0x1f0]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.004874f0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004874f0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004874f0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004874f0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004874f0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004874f0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004874f0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004874f0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004874f0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004874f0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004874f0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004874f0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004874f0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004874f0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004874f0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004874f0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004874f0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004874f0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004874f0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004874f0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004874f0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004874f0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004874f0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004874f0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004874f0
mov ecx, esi
call fcn.00487600
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.0053c570
test eax, eax
je 0x4dbff0
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dbff0
mov ecx, dword [0x6fd494]
test ecx, ecx
je 0x4dbff0
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.0053c570
test eax, eax
je 0x4dc023
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dc023
mov ecx, dword [0x6fd2d8]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4dc01f
push 1
jmp 0x4dc021
push 0
call eax
push 0x25
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dc039
push 0x38
mov ecx, edi
call fcn.0053c620
push 0x20
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dc06c
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dc06c
mov ecx, dword [0x6fd50c]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4dc068
push 1
jmp 0x4dc06a
push 0
call eax
cmp dword [ebp - 0x208], 1
je 0x4dc1dc
push 0x17
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dc0c1
push 0x38
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dc0c1
mov ecx, dword [0x70b17c]
mov word [ebp - 0x1ff], 0x7f05
mov edx, dword [ecx + 0x129]
push 9
lea eax, [ebp - 0x200]
push eax
mov ecx, 0x71b608
mov dword [ebp - 0x1fd], edx
call fcn.0053d6c0
push 0x31
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dc0f5
push 0x1d
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dc0f5
mov ecx, dword [0x6fd4c0]
test ecx, ecx
je 0x4dc0f5
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.0053c570
mov bl, 0x3c
test eax, eax
je 0x4dc146
push 0x1d
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dc146
mov eax, dword [0x70b170]
push 0xd
lea ecx, [ebp - 0x204]
push ecx
mov ecx, 0x71b608
mov byte [ebp - 0x203], bl
mov byte [ebp - 0x202], 0x29
mov dword [ebp - 0x201], eax
mov dword [ebp - 0x1fb], 2
call fcn.0053d6c0
push 0x10
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dc18c
push 0x1d
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dc18c
mov edx, dword [0x70b170]
push 9
lea eax, [ebp - 0x200]
push eax
mov ecx, 0x71b608
mov byte [ebp - 0x1ff], bl
mov byte [ebp - 0x1fe], 1
mov dword [ebp - 0x1fd], edx
call fcn.0053d6c0
push 0x1e
mov ecx, edi
call fcn.0053c570
test eax, eax
je 0x4dc1dc
push 0x1d
mov ecx, edi
call fcn.0053c620
test eax, eax
je 0x4dc1dc
mov ecx, dword [0x70b170]
push 0xd
lea edx, [ebp - 0x204]
mov dword [ebp - 0x201], ecx
push edx
mov ecx, 0x71b608
mov byte [ebp - 0x203], bl
mov byte [ebp - 0x202], 0x29
mov dword [ebp - 0x1fb], 1
call fcn.0053d6c0
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0059eb13
mov esp, ebp
pop ebp
ret 4