Function at 0x43de70
Capabilities:
Terminate process

Disassembly:
mov eax, 0x1570
call fcn.00464d80
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0x1568], eax
mov eax, dword [esp + 0x1574]
push ebx
push esi
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x116a]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], 0x429910
mov esi, 1
mov word [esp + 0x116c], cx
call fcn.00464a00
or edi, 0xffffffff
mov eax, 0x429910
add esp, 0xc
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], 0
test eax, eax
jne 0x43def1
mov ecx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0xfe0]
push edx
mov dword [esp + 0xfe4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x43e23c
cmp dword [esp + 0xff0], 2
jne 0x43e23c
cmp dword [esp + 0x1584], edi
jne 0x43df76
lea eax, [esp + 0x10]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43e23e
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push 4
lea edx, [esp + 0x2c]
push edx
push 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x43e23c
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x20], eax
test eax, eax
je 0x43e211
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push eax
call esi
mov ebx, dword [esp + 0x20]
push str.GetModuleBaseNameW
push ebx
mov edi, eax
call esi
push str.GetProcessImageFileNameW
push ebx
mov dword [esp + 0x38], eax
call esi
mov dword [esp + 0x34], eax
test edi, edi
je 0x43e211
cmp dword [esp + 0x30], 0
je 0x43e211
lea edx, [esp + 0x3c]
push edx
push 0x3e8
lea eax, [esp + 0x48]
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x43e213
mov edi, dword [esp + 0x3c]
shr edi, 2
mov dword [esp + 0x28], edi
call fcn.0043e260
mov dword [esp + 0x14], 0
test edi, edi
jle 0x43e213
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + ecx*4 + 0x40]
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x43e1fb
xor eax, eax
jmp 0x43e030
movzx ecx, word [eax + str.Unknown]
mov word [esp + eax + 0x1160], cx
add eax, 2
test cx, cx
jne 0x43e030
push esi
push 0
push 0x410
call dword [esp + 0x24]
mov edi, eax
xor esi, esi
test edi, edi
je 0x43e113
push 0x104
lea edx, [esp + 0x1164]
push edx
push esi
push edi
call dword [esp + 0x40]
mov esi, eax
test esi, esi
jne 0x43e113
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12b
jne 0x43e113
mov eax, dword [esp + 0x34]
test eax, eax
je 0x43e113
push 0x104
lea ecx, [esp + 0x1164]
push ecx
push edi
call eax
mov esi, eax
test esi, esi
jbe 0x43e113
lea edx, [esp + 0x10f8]
push edx
lea eax, [esp + 0x136c]
push eax
push 0
lea ecx, [esp + 0x116c]
push 0
push ecx
call fcn.00461f57
add esp, 0x14
lea edx, [esp + 0x10f8]
push edx
lea eax, [esp + 0x136c]
push eax
lea ecx, [esp + 0x1168]
push 0x48e3e8
push ecx
call fcn.00461fd7
lea eax, [esp + 0x1170]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e102
sub eax, edx
sar eax, 1
mov esi, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
test esi, esi
je 0x43e1f7
mov edx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x1164]
push eax
call fcn.004619f9
add esp, 8
test eax, eax
jne 0x43e1f7
cmp dword [esp + 0x1584], 0xfffffffe
je 0x43e1c4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + ecx*4 + 0x40]
push edx
push eax
push 0x400
mov dword [esp + 0x28], 0xffffffff
call dword [esp + 0x24]
mov esi, eax
test esi, esi
je 0x43e1a5
lea eax, [esp + 0x10]
push eax
push 8
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, eax
test ebx, ebx
je 0x43e1a2
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push 4
lea edx, [esp + 0x24]
push edx
push 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ecx, dword [esp + 0x10]
push ecx
mov ebx, eax
call edi
push esi
call edi
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x43e1f7
mov ecx, dword [esp + 0x1584]
cmp ecx, 0xffffffff
jne 0x43e1c0
cmp eax, dword [esp + 0x24]
jmp 0x43e1c2
cmp eax, ecx
jne 0x43e1f7
mov edx, dword [esp + 0x14]
mov eax, dword [esp + edx*4 + 0x40]
push eax
push 0
push 1
call dword [esp + 0x24]
mov esi, eax
test esi, esi
je 0x43e211
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x43e20e
push 0x7d0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, edi
mov dword [esp + 0x14], eax
jl 0x43e007
jmp 0x43e213
push esi
call edi
xor ebx, ebx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43e222
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1568]
xor ecx, esp
call fcn.00461706
add esp, 0x1570
ret
mov eax, esi
mov ecx, dword [esp + 0x1574]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00461706
add esp, 0x1570
ret