Function at 0x4d9d80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x6dc4f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6de180], 0
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1f4], esi
je 0x4da93d
cmp dword [esi + 0xbc8], 0
jne 0x4da93d
cmp dword [0x6ebcc0], 0
je 0x4da93d
cmp dword [0x5e1160], 7
jne 0x4da93d
push ebx
push 0x58
mov ecx, edi
call fcn.005383f0
mov ebx, 1
cmp eax, ebx
jne 0x4d9dfc
mov ecx, dword [0x6de958]
mov edx, dword [0x6ebcc0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x64]
push edx
push ebx
call eax
cmp dword [0x6d94e8], 0
mov dword [ebp - 0x208], 0
je 0x4d9e1d
cmp dword [esi + 0xbc4], ebx
jne 0x4d9e1d
mov dword [ebp - 0x208], ebx
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4d9e2f
mov ebx, 4
push 0x1d
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4d9e42
and ebx, 0xfffffffe
or ebx, 2
push 0x2a
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4d9e55
and ebx, 0xfffffffe
or ebx, 8
mov edx, dword [ebp - 0x1f4]
xor esi, esi
lea ecx, [ecx]
cmp dword [ebp - 0x208], 0
je 0x4d9e80
mov ecx, dword [edx + 0xbc4]
imul ecx, ecx, 0x29
add ecx, esi
add ecx, ecx
cmp dword [edx + ecx*8 + 0x52c], 0
je 0x4d9edb
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 0x4d9edb
add eax, 0x53
add eax, eax
cmp dword [edx + eax*8], 0
je 0x4d9eb5
movzx edx, word [edx + ecx*8 + 0x528]
push edx
mov ecx, edi
call fcn.00538380
jmp 0x4d9ec5
movzx eax, word [edx + ecx*8 + 0x528]
push eax
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4d9ed5
mov ecx, dword [ebp - 0x1f4]
push esi
call fcn.004d8600
mov edx, dword [ebp - 0x1f4]
inc esi
cmp esi, 0x29
jl 0x4d9e60
push 0x13
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4d9fcc
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4d9fcc
push 0
push 0x3880
mov ecx, 0x710248
call fcn.00562d10
test eax, eax
je 0x4d9f43
push 0x5c183c
push 0x1d
push 0x6ed7f0
call fcn.004df650
add esp, 0xc
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059641f
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x6de850]
cmp dword [ecx + 0x10], 0
jne 0x4d9f7d
cmp dword [0x6d7ab4], 0
je 0x4d9f99
push 0x283
mov ecx, 0x6ed7f0
call fcn.004de2a0
push eax
push 0x1d
push 0x6ed7f0
call fcn.004df650
mov ecx, dword [0x6de850]
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.0059641f
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x6ce1f0]
cmp byte [edx + 0x6eb8f0], 0
je 0x4d9fc3
push 0x5b7620
push 1
push 0x3aba
push 0x6cd410
call fcn.0044b580
add esp, 0x10
jmp 0x4d9fcc
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
push 0xc7
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4d9ffd
mov ecx, dword [0x6de770]
test ecx, ecx
je 0x4da93c
cmp dword [ecx + 0x10], 0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
je 0x4d9ff9
push 0
jmp 0x4d9ffb
push 1
call edx
push 0x14
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da058
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da058
mov esi, dword [0x6de9a4]
test esi, esi
je 0x4da93c
cmp dword [esi + 0x10], 0
mov ecx, esi
je 0x4da03f
push 1
call fcn.004510b0
mov ecx, esi
call fcn.00451010
push 0
jmp 0x4da04f
push 0
call fcn.004510b0
mov ecx, esi
call fcn.00450fa0
push 1
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x3f
mov ecx, edi
call fcn.00538340
push 0x41
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da092
push 0x8e6
mov ecx, 0x6ed7f0
call fcn.004de2a0
push eax
push 2
push 0x3ab5
push 0x6cd410
call fcn.0044b580
add esp, 0x10
push 0x57
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da0df
call fcn.00412ac0
mov ecx, eax
call fcn.005328e0
test eax, eax
jne 0x4da0c8
call fcn.00412ac0
mov ecx, eax
call fcn.00532900
mov ecx, dword [0x6de9e4]
call fcn.005327f0
jmp 0x4da0df
call fcn.00412ac0
mov ecx, eax
call fcn.00532b40
mov ecx, dword [0x6de9e4]
call fcn.005327a0
push 0x10
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da123
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da123
mov eax, dword [0x6ddc40]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4da114
mov ecx, dword [0x6ddc40]
push 0
push ecx
jmp 0x4da11d
mov edx, dword [0x6ddc40]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x6cf4bc], 0
je 0x4da93c
push 0x22
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da164
push 0x1d
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da164
mov ecx, dword [0x6de92c]
test ecx, ecx
je 0x4da164
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.00538340
test eax, eax
je 0x4da198
push 0x1d
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da198
mov ecx, dword [0x6de930]
test ecx, ecx
je 0x4da198
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.00538340
test eax, eax
je 0x4da1cb
push 0x1d
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da1cb
mov ecx, dword [0x6de968]
cmp dword [ecx + 0x10], 1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
jne 0x4da1c7
push 0
jmp 0x4da1c9
push 1
call edx
push 0x3b
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da1f5
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da1f5
xor eax, eax
cmp dword [0x70e47c], eax
sete al
mov dword [0x70e47c], eax
push 0xe
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da219
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da219
mov ecx, 0x6cd410
call fcn.00447e20
push 0x19
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da251
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da251
mov eax, dword [ebp - 0x1f4]
xor dword [eax + 0xbd0], 1
mov eax, dword [eax + 0xbd0]
push eax
mov ecx, 0x6cc9b0
call fcn.0042b0f0
push 0x2e
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da284
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da284
cmp dword [0x710618], 4
mov ecx, 0x710600
jne 0x4da27d
push 0
jmp 0x4da27f
push 4
call fcn.0056c3b0
push 0x1e
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da2c6
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da2c6
mov esi, dword [0x6de910]
test esi, esi
je 0x4da2c6
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 0x5c1828
mov ecx, esi
call fcn.004895d0
push 0x1f
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da2fa
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da2fa
mov ecx, dword [0x6de8e0]
test ecx, ecx
je 0x4da2fa
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.00538340
test eax, eax
je 0x4da567
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da567
mov esi, dword [0x6de8e4]
test esi, esi
je 0x4da567
mov ecx, dword [0x5c181c]
mov edx, dword [0x5c1820]
movzx eax, word [0x5c1824]
mov dword [ebp - 0x44], ecx
movzx ecx, byte [0x5c1826]
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.00488410
mov eax, dword [0x5c1810]
mov ecx, dword [0x5c1814]
movzx edx, word [0x5c1818]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
movzx eax, byte [0x5c181a]
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.00488410
mov edx, dword [0x5c1804]
mov eax, dword [0x5c1808]
movzx ecx, word [0x5c180c]
mov dword [ebp - 0x44], edx
movzx edx, byte [0x5c180e]
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.00488410
mov ecx, dword [0x5c17f8]
mov edx, dword [0x5c17fc]
movzx eax, word [0x5c1800]
mov dword [ebp - 0x44], ecx
movzx ecx, byte [0x5c1802]
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.00488410
mov eax, dword [0x5c17ec]
mov ecx, dword [0x5c17f0]
movzx edx, word [0x5c17f4]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
movzx eax, byte [0x5c17f6]
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.00488410
mov edx, dword [0x5c17e0]
movzx ecx, word [0x5c17e8]
mov eax, dword [0x5c17e4]
mov dword [ebp - 0x44], edx
movzx edx, byte [0x5c17ea]
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.00488410
mov ecx, dword [0x5c17d4]
mov edx, dword [0x5c17d8]
movzx eax, word [0x5c17dc]
mov dword [ebp - 0x44], ecx
movzx ecx, byte [0x5c17de]
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.00488410
mov eax, dword [0x5c17c8]
mov ecx, dword [0x5c17cc]
movzx edx, word [0x5c17d0]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
movzx eax, byte [0x5c17d2]
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.00488410
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.00488920
push 0x24
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da71c
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da71c
lea eax, [ebp - 0x1eb]
push 0x5c17bc
push eax
mov byte [ebp - 0x1f0], 0
call fcn.00596934
lea ecx, [ebp - 0x1da]
push 0x5c17b0
push ecx
call fcn.00596934
lea edx, [ebp - 0x27]
push 0x5c17a8
push edx
mov byte [ebp - 0x2c], 1
call fcn.00596934
lea eax, [ebp - 0x16]
push 0x5c17a0
push eax
call fcn.00596934
mov esi, dword [0x6de8e8]
add esp, 0x20
test esi, esi
je 0x4da71c
lea ecx, [ebp - 0x1f0]
push ecx
mov ecx, esi
mov dword [esi + 0x23c], 1
call fcn.004872c0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004872c0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004872c0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004872c0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004872c0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004872c0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004872c0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004872c0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004872c0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004872c0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004872c0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004872c0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004872c0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004872c0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004872c0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004872c0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004872c0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004872c0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004872c0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004872c0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004872c0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004872c0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004872c0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004872c0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.004872c0
mov ecx, esi
call fcn.004873d0
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.00538340
test eax, eax
je 0x4da750
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da750
mov ecx, dword [0x6de8ec]
test ecx, ecx
je 0x4da750
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.00538340
test eax, eax
je 0x4da783
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da783
mov ecx, dword [0x6de730]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4da77f
push 1
jmp 0x4da781
push 0
call eax
push 0x25
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da799
push 0x38
mov ecx, edi
call fcn.005383f0
push 0x20
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da7cc
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da7cc
mov ecx, dword [0x6de964]
cmp dword [ecx + 0x10], 0
mov edx, dword [ecx]
mov eax, dword [edx + 8]
jne 0x4da7c8
push 1
jmp 0x4da7ca
push 0
call eax
cmp dword [ebp - 0x208], 1
je 0x4da93c
push 0x17
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da821
push 0x38
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da821
mov ecx, dword [0x6ebccc]
mov word [ebp - 0x1ff], 0x7f05
mov edx, dword [ecx + 0x129]
push 9
lea eax, [ebp - 0x200]
push eax
mov ecx, 0x6d9a00
mov dword [ebp - 0x1fd], edx
call fcn.00539590
push 0x31
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da855
push 0x1d
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da855
mov ecx, dword [0x6de918]
test ecx, ecx
je 0x4da855
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.00538340
mov bl, 0x3c
test eax, eax
je 0x4da8a6
push 0x1d
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da8a6
mov eax, dword [0x6ebcc0]
push 0xd
lea ecx, [ebp - 0x204]
push ecx
mov ecx, 0x6d9a00
mov byte [ebp - 0x203], bl
mov byte [ebp - 0x202], 0x29
mov dword [ebp - 0x201], eax
mov dword [ebp - 0x1fb], 2
call fcn.00539590
push 0x10
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da8ec
push 0x1d
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da8ec
mov edx, dword [0x6ebcc0]
push 9
lea eax, [ebp - 0x200]
push eax
mov ecx, 0x6d9a00
mov byte [ebp - 0x1ff], bl
mov byte [ebp - 0x1fe], 1
mov dword [ebp - 0x1fd], edx
call fcn.00539590
push 0x1e
mov ecx, edi
call fcn.00538340
test eax, eax
je 0x4da93c
push 0x1d
mov ecx, edi
call fcn.005383f0
test eax, eax
je 0x4da93c
mov ecx, dword [0x6ebcc0]
push 0xd
lea edx, [ebp - 0x204]
mov dword [ebp - 0x201], ecx
push edx
mov ecx, 0x6d9a00
mov byte [ebp - 0x203], bl
mov byte [ebp - 0x202], 0x29
mov dword [ebp - 0x1fb], 1
call fcn.00539590
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0059641f
mov esp, ebp
pop ebp
ret 4