Function at 0x4a7dc0
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.00531e1f
test eax, eax
je 0x4a7e6c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x4a7e6c
call fcn.00531e1f
test eax, eax
je 0x4a7df1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
jne 0x4a7df5
xor esi, esi
jmp 0x4a7df8
mov esi, dword [eax + 0x1c]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a7e6c
cmp dword [0x66db00], 3
jl 0x4a7e15
mov eax, dword [0x5cdeec]
test eax, eax
jl 0x4a7e6c
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 0x7900
push esi
call edi
mov eax, dword [0x5cdeec]
shl eax, 5
add eax, 0x2af8
push eax
push 0
push 0
push 0x4875
push esi
call fcn.004a8440
add esp, 0x14
push 0
push 0
push 0x10
push esi
call edi
mov ecx, dword [0x66db00]
mov eax, dword [0x5cdeec]
inc ecx
dec eax
pop edi
mov dword [0x66db00], ecx
mov dword [0x5cdeec], eax
pop esi
ret
push 0
call fcn.0051692a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x5cded8], 0
jne 0x4a7e96
xor eax, eax
jmp 0x4a8073
push 0x12341235
pop eax
mov dword [ebp - 0xc], 0x4a8770
mov eax, dword [ebp - 0xc]
add eax, 0x473852
xor eax, 0x414990
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
shr ecx, 0x14
and ecx, 0xfff
cmp ecx, 4
je 0x4a7edf
mov dword [0x5cded8], 0
mov eax, dword [0x5cded8]
jmp 0x4a8073
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], 7
mov eax, dword [ebp - 0x1c]
shl eax, 4
add eax, dword [ebp - 0x20]
shl eax, 4
add eax, 0xa
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x18], 0
jle 0x4a8002
mov eax, dword [ebp - 0x18]
cdq
mov ecx, 6
idiv ecx
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x24]
xor ecx, eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x68
jne 0x4a7f8f
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
cdq
mov ecx, 6
idiv ecx
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x24]
xor ecx, eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x2c]
add edx, 4
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
sub eax, 4
mov dword [ebp - 0x18], eax
jmp 0x4a7f1b
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov cl, byte [eax - 1]
cmp ecx, 0xff
jne 0x4a7ffd
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x15
jne 0x4a7ffd
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
cdq
mov ecx, 6
idiv ecx
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x24]
xor ecx, eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x2c]
add edx, 4
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
sub eax, 4
mov dword [ebp - 0x18], eax
jmp 0x4a7f1b
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x1234123f
je 0x4a8015
xor eax, eax
jmp 0x4a8073
mov eax, dword [ebp - 0x10]
xor edx, edx
mov ecx, 4
div ecx
test edx, edx
je 0x4a8031
mov edx, dword [ebp - 0x10]
add edx, 0x418374
mov dword [ebp - 0x10], edx
call dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x4a8065
cmp dword [ebp - 0x10], 0x64
jae 0x4a8065
mov ecx, dword [ebp - 0x14]
mov dword [0x5cded8], ecx
mov eax, dword [0x5cded8]
jmp 0x4a8073
mov edx, dword [ebp - 0x14]
mov dword [0x5cded8], edx
mov eax, dword [0x5cded8]
mov esp, ebp
pop ebp
ret