Function at 0x5065f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x80f11c], 0
push edi
mov edi, ecx
jne 0x506915
cmp dword [0x80f118], 0
jne 0x506915
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
jne 0x506673
cmp dword [esi + 0x40], ebx
jne 0x506673
cmp dword [esi + 0x24], ebx
je 0x50662d
mov ebx, 1
jmp 0x506637
cmp dword [esi + 0x28], ebx
je 0x50665d
mov ebx, 2
mov ecx, dword [0xa656a4]
cmp dword [ecx + 0xe], 0
je 0x506648
call fcn.00548080
mov ecx, dword [0xa656cc]
cmp dword [ecx + 0xe], 0
je 0x506668
mov eax, dword [ecx]
push 0
call dword [eax + 8]
jmp 0x506668
cmp dword [esi + 0x34], ebx
mov eax, 0x20
cmovne ebx, eax
cmp dword [esi + 0x48], 0
je 0x506678
or ebx, 8
jmp 0x506678
mov ebx, 4
cmp dword [esi + 0x28], 0
je 0x506685
mov dword [edi + 0xc], 1
cmp dword [esi + 0x58], 0
je 0x506692
mov dword [edi + 0xc], 0
cmp dword [0xa6b1cc], 0
je 0x5066ba
cmp dword [esi + 0x34], 0
je 0x5066ba
cmp dword [edi + 0xc], 0
je 0x5066ba
push 0
mov ecx, 0xa6a650
call fcn.0051f460
mov dword [edi + 0xc], 0
test ebx, ebx
jne 0x506738
mov ecx, dword [0xa690fc]
mov eax, ecx
sub eax, dword [0xa6a45c]
cmp eax, 0xc8
jbe 0x50690e
push dword [esi + 0x64]
mov dword [0xa6a45c], ecx
push dword [esi + 0x60]
call fcn.0046d1c0
mov esi, eax
add esp, 8
mov eax, dword [0xa6a454]
cmp eax, esi
je 0x50670e
mov ecx, dword [edi + 8]
push eax
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [edi + 8]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [0xa6a454], esi
test esi, esi
jne 0x50690e
cmp dword [0x87bf08], 7
je 0x50690e
pop esi
pop ebx
pop edi
mov dword [ebp + 8], 0
mov ecx, 0x87bed8
pop ebp
jmp fcn.00506520
push dword [esi + 0x74]
push dword [esi + 0x70]
call fcn.0046d1c0
mov edx, eax
add esp, 8
mov dword [ebp + 8], edx
test edx, edx
je 0x50687d
mov eax, dword [edx + 4]
test eax, eax
je 0x5067ed
cmp eax, 0xa
je 0x5067ed
cmp eax, 1
jne 0x506778
mov ecx, dword [edi + 8]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x5067f7
cmp eax, 2
jne 0x506789
mov ecx, dword [edi + 8]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x5067f7
cmp eax, 5
jne 0x50679a
mov ecx, dword [edi + 8]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x1c]
jmp 0x5067f7
cmp eax, 4
jne 0x5067b5
push 0
push 0xc0
push str.MouseEventThrower.cpp
call fcn.00412d00
add esp, 0xc
jmp 0x5067f7
cmp eax, 7
jne 0x5067c6
mov ecx, dword [edi + 8]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x20]
jmp 0x5067f7
cmp eax, 9
jne 0x5067d7
mov ecx, dword [edi + 8]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x5067f7
push 0
push 0xce
push str.MouseEventThrower.cpp
call fcn.00412d00
add esp, 0xc
jmp 0x5067f7
mov ecx, dword [edi + 8]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp + 8]
test bl, 4
je 0x50682a
mov eax, dword [edx + 4]
test eax, eax
je 0x50681d
cmp eax, 0xa
je 0x50681d
cmp eax, 1
jne 0x50682a
mov ecx, dword [edi + 8]
push edx
push 1
mov eax, dword [ecx]
call dword [eax + 0x2c]
jmp 0x506827
mov ecx, dword [edi + 8]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov edx, dword [ebp + 8]
test bl, 1
je 0x50690e
cmp edx, dword [0xa6a654]
je 0x50690e
cmp dword [edx + 4], 7
je 0x506856
pop esi
pop ebx
pop edi
mov dword [ebp + 8], edx
mov ecx, 0xa6a650
pop ebp
jmp fcn.0051f460
mov ecx, dword [0xa690fc]
mov eax, ecx
sub eax, dword [0xa6a458]
cmp eax, 0x190
jb 0x50690e
push dword [esi + 0x74]
mov dword [0xa6a458], ecx
push dword [esi + 0x70]
jmp 0x5068f2
mov ecx, dword [0xa690fc]
mov edx, ebx
and edx, 1
je 0x5068d4
mov eax, ecx
sub eax, dword [0xa6a458]
cmp eax, 0x5a
jae 0x5068d4
cmp dword [edi + 0x14], 0
jne 0x5068a0
mov dword [edi + 0x14], ecx
inc dword [edi + 0x10]
mov ecx, dword [0xa690fc]
mov eax, ecx
sub eax, dword [edi + 0x14]
cmp eax, 0x1770
jb 0x5068d4
cmp dword [edi + 0x10], 5
jge 0x506941
mov dword [edi + 0x10], 1
mov eax, dword [0xa690fc]
mov dword [edi + 0x14], eax
mov ecx, dword [0xa690fc]
test edx, edx
jne 0x50685c
test bl, 8
je 0x50690e
mov eax, ecx
sub eax, dword [0xa6a460]
cmp eax, 0x190
jb 0x50690e
push dword [esi + 0x64]
push dword [esi + 0x60]
mov dword [0xa6a460], ecx
call fcn.0046d130
add esp, 8
test eax, eax
je 0x50690e
mov ecx, dword [edi + 8]
push eax
push ebx
mov edx, dword [ecx]
call dword [edx + 0x18]
pop esi
pop ebx
pop edi
pop ebp
ret 4
mov edx, dword [0xa6a454]
test edx, edx
je 0x506932
mov ecx, dword [edi + 8]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [0xa6a454], 0
mov eax, dword [0xa690fc]
mov dword [0xa6a460], eax
pop edi
pop ebp
ret 4
mov ecx, dword [0xa6a654]
call fcn.0040bec0
push 0x5bb820
push 0x17
push 0xa59940
call fcn.004482c0
add esp, 0xc
push 0
push str.System_check
push 0x5bb850
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00580b98
int3