Function at 0x4de484
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4de48c
push ecx
push ebx
push esi
push edi
mov eax, 0x4de214
call fcn.0040722c
mov esi, dword [0x4e1268]
xor eax, eax
push ebp
push 0x4de8a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, dword [0x4e1244]
mov edx, dword [edx]
call fcn.00403dac
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00408f00
mov edx, dword [ebp - 0x10]
mov eax, 0x4de8bc
call fcn.00404160
mov ebx, eax
cmp ebx, 1
jle 0x4de62e
mov eax, 0x4e43c8
mov edx, dword [0x4e1244]
mov edx, dword [edx]
call fcn.00403dac
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x4e43c8]
call fcn.00403e74
mov ecx, eax
sub ecx, ebx
sub ecx, 3
lea edx, [ebx + 4]
mov eax, dword [0x4e43c8]
call fcn.0040407c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0040909c
mov edx, dword [ebp - 0x18]
mov eax, 0x4e43d0
call fcn.00403c48
push 0x4e43c8
lea eax, [ebp - 0x20]
mov edx, dword [0x4e1244]
mov edx, dword [edx]
call fcn.00403dac
mov eax, dword [ebp - 0x20]
lea ecx, [ebx + 3]
mov edx, 1
call fcn.0040407c
lea eax, [ebp - 0x28]
mov edx, dword [0x4e1244]
mov edx, dword [edx]
call fcn.00403dac
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00408f00
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [esi]
call fcn.00450824
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00408f00
mov eax, dword [ebp - 0x2c]
pop edx
call fcn.00404160
mov ebx, eax
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x3c]
mov eax, dword [esi]
call fcn.00450824
mov eax, dword [ebp - 0x3c]
call fcn.00403e74
push eax
mov eax, dword [0x4e43c8]
call fcn.00403e74
pop edx
sub eax, edx
push eax
lea edx, [ebp - 0x40]
mov eax, dword [esi]
call fcn.00450824
mov eax, dword [ebp - 0x40]
call fcn.00403e74
mov edx, eax
add edx, ebx
inc edx
mov eax, dword [0x4e43c8]
pop ecx
call fcn.0040407c
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0040909c
mov edx, dword [ebp - 0x34]
mov eax, 0x4e43cc
mov ecx, 0x4de8cc
call fcn.00403ec0
mov eax, dword [0x4e43cc]
call fcn.00403e74
cmp eax, 0x40
jle 0x4de62e
push 0x4e43cc
mov eax, dword [0x4e43cc]
call fcn.00403e74
mov edx, eax
sub edx, 0x3f
mov ecx, 0x40
mov eax, dword [0x4e43cc]
call fcn.0040407c
lea eax, [ebp - 0x4c]
mov edx, dword [0x4e1244]
mov edx, dword [edx]
call fcn.00403dac
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408f00
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0040909c
mov edx, dword [ebp - 0x44]
mov eax, 0x4e43c8
call fcn.00403c48
lea edx, [ebp - 0x50]
mov eax, dword [esi]
call fcn.00450824
mov eax, dword [ebp - 0x50]
call fcn.00403e74
mov ebx, eax
add ebx, 5
mov eax, dword [0x4e43c8]
call fcn.00403e74
cmp ebx, eax
jge 0x4de703
mov eax, dword [0x4e43c8]
call fcn.00403e74
cmp eax, 0x3f
jle 0x4de6f3
mov edx, dword [0x4e43c8]
mov eax, 0x4de8bc
call fcn.00404160
mov ebx, eax
test ebx, ebx
jle 0x4de6d0
sub ebx, 0x3f
cmp ebx, 1
jge 0x4de6b8
mov ebx, 1
push 0x4e43c8
mov ecx, 0x3f
mov edx, ebx
mov eax, dword [0x4e43c8]
call fcn.0040407c
jmp 0x4de6f3
push 0x4e43c8
mov eax, dword [0x4e43c8]
call fcn.00403e74
mov edx, eax
sub edx, 0x3e
mov ecx, 0x3f
mov eax, dword [0x4e43c8]
call fcn.0040407c
mov eax, 0x4e43cc
mov edx, dword [0x4e43c8]
call fcn.00403c48
lea edx, [ebp - 0x54]
mov eax, dword [0x4e43cc]
call fcn.0040909c
cmp dword [ebp - 0x54], 0
je 0x4de7f2
mov edx, dword [0x4e43cc]
mov eax, 0x4de8d8
call fcn.00404160
test eax, eax
jle 0x4de741
push 0x4de8e4
push 0
call sub.user32.dll_FindWindowA
mov dword [0x4e43c4], eax
jmp 0x4de763
push 0
lea edx, [ebp - 0x58]
mov eax, dword [0x4e43cc]
call fcn.00408f00
mov eax, dword [ebp - 0x58]
call fcn.00404038
push eax
call sub.user32.dll_FindWindowA
mov dword [0x4e43c4], eax
cmp dword [0x4e43c4], 0
jbe 0x4de7f2
mov eax, dword [0x4e43c4]
push eax
call sub.user32.dll_SetForegroundWindow
push 9
mov eax, dword [0x4e43c4]
push eax
call sub.user32.dll_ShowWindow
cmp dword [0x4e43d0], 0
je 0x4de87a
xor eax, eax
push ebp
push 0x4de7cf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
mov ecx, 0x4de8f8
mov edx, dword [0x4e43d0]
call fcn.00403ec0
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0042cee8
pop edx
call fcn.0042cb88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4de7d9
push 0
push 0
push 0x1400
mov eax, dword [0x4e43c4]
push eax
call sub.user32.dll_PostMessageA
jmp 0x4de87a
mov eax, dword [esi]
call fcn.004502c4
mov eax, dword [esi]
mov edx, 0x4de910
call fcn.0044fec8
mov ecx, dword [0x4e1030]
mov eax, dword [esi]
mov edx, dword [0x48ae98]
call fcn.004502dc
mov ecx, dword [0x4e1388]
mov eax, dword [esi]
mov edx, dword [0x49fbd8]
call fcn.004502dc
lea edx, [ebp - 0x60]
mov eax, dword [0x4e1388]
mov eax, dword [eax]
call fcn.00431e40
mov eax, dword [ebp - 0x60]
mov edx, 0x4de928
call fcn.00403f84
je 0x4de867
lea edx, [ebp - 0x64]
mov eax, dword [0x4e1388]
mov eax, dword [eax]
call fcn.00431e40
mov eax, dword [ebp - 0x64]
mov edx, 0x4de93c
call fcn.00403f84
jne 0x4de873
mov eax, dword [0x4e1388]
mov eax, dword [eax]
call fcn.0044d070
mov eax, dword [esi]
call fcn.0045035c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de8a9
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00403c18
lea eax, [ebp - 0x5c]
mov edx, 0x14
call fcn.00403c18
ret