Function at 0x4145f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cd68
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x493014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x1c]
xor bh, bh
call fcn.00403860
call fcn.004038f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004089d0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x70]
test esi, esi
je 0x414675
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x414675
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x414675
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x64]
call fcn.00416060
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.00403aa0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x4c]
call fcn.004167b0
mov edx, 0x480144
lea ecx, [ebp - 0x34]
call fcn.00414a60
mov edx, 0x480144
lea ecx, [ebp - 0x34]
call fcn.00414ae0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x34]
call fcn.004174a0
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00403ba0
mov edx, eax
call fcn.00403bb0
mov ecx, dword [edx]
sub ecx, dword [eax]
sar ecx, 2
cmp ecx, 1
ja 0x41470b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004039b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.004039b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004039b0
jmp 0x414827
push 0x4814fc
push str.QCMbControl
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x41473b
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41473b
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4146e2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.004039b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.004039b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004039b0
lea ecx, [ebp - 0x1c]
call fcn.00403bb0
mov dword [ebp - 0x6c], eax
mov esi, dword [eax]
call fcn.00403ba0
mov dword [ebp - 0x70], eax
mov ecx, dword [eax]
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x68], ecx
cmp esi, ecx
je 0x414827
mov edi, dword [esi]
call eax
cmp edi, eax
je 0x414795
mov ecx, edi
call fcn.00432340
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esi, 4
cmp esi, dword [ebp - 0x68]
jne 0x414786
mov esi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
mov esi, dword [esi]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
cmp esi, ecx
je 0x414827
mov edi, dword [esi]
call eax
cmp edi, eax
je 0x41481a
test edi, edi
je 0x414814
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, edi
je 0x414814
push edi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x414814
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, edi
jne 0x4147eb
xor bl, bl
jmp 0x414809
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test eax, eax
je 0x414809
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x414818
test bh, bh
je 0x41481a
mov bh, 1
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esi, 4
cmp esi, dword [ebp - 0x68]
jne 0x4147b3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00403890
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00434f3f
mov esp, ebp
pop ebp
ret