Function at 0x45c530
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7363
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4e4018]
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
mov dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xorps xmm0, xmm0
mov esi, eax
movlpd qword [ebp - 0x220], xmm0
push 0x14
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
call fcn.0048784a
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push eax
push esi
call fcn.0045cab0
or ebx, 0xffffffff
test eax, eax
je 0x45c7f8
cmp dword [ebp - 0x21c], 0
je 0x45c7f8
mov eax, dword [ebp - 0x220]
mov esi, dword [eax]
cmp esi, eax
je 0x45c7c0
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00489ec0
mov edi, dword [esi + 0x10]
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x45c634
push edi
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x45c74a
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
jne 0x45c709
mov dword [ebp - 0x228], 0x104
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x45c884
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push str.llProcessIm
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 2
push str.QueryFu_sageNameW
push eax
call fcn.0045d0c0
mov edi, dword [ebp - 0x224]
add esp, 0xc
cmp byte [0x4f9178], 0
jne 0x45c6c5
push edi
push str.Kernel32.dll
mov byte [0x4f9178], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4f9174], eax
jmp 0x45c6ca
mov eax, dword [0x4f9174]
test eax, eax
je 0x45c774
lea ecx, [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push 0
push ebx
call eax
test eax, eax
je 0x45c774
mov byte [ebp - 4], 1
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45c709
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call fcn.004996b0
add esp, 8
test eax, eax
jne 0x45c74a
push dword [esi + 0x10]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x45c74a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x45c74a
push edi
call ebx
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x45c799
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x45c770
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x45c770
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x45c760
mov esi, eax
jmp 0x45c7af
mov byte [ebp - 4], 1
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45c790
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45c74a
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x45c7af
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x45c7a3
mov eax, dword [ebp - 0x220]
cmp esi, eax
jne 0x45c5f0
or ebx, 0xffffffff
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x45c83c
nop dword [eax]
push dword [esi + 8]
lea eax, [ebp - 0x220]
push eax
mov ecx, eax
call fcn.0041c9f0
mov eax, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.0048783c
add esp, 8
cmp byte [esi + 0xd], 0
je 0x45c7d0
jmp 0x45c836
mov eax, dword [ebp - 0x220]
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x45c83c
nop word [eax + eax]
push dword [esi + 8]
lea eax, [ebp - 0x220]
push eax
mov ecx, eax
call fcn.0041c9f0
mov eax, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.0048783c
add esp, 8
cmp byte [esi + 0xd], 0
je 0x45c810
mov eax, dword [ebp - 0x220]
push 0x14
push eax
call fcn.0048783c
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45c866
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0048782e
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404860
int3