Function at 0x4b4e20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f53d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push str.ZwQuerySystemInformation
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
mov edi, 0x30d40
push edi
call sub.mfc90.dll_Ordinal_265
add esp, 4
mov ebx, eax
mov dword [ebp - 0x14], ebx
xor esi, esi
lea ebx, [ebx]
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
push 5
call dword [ebp - 0x1c]
mov edi, eax
test edi, edi
jge 0x4b4eec
test ebx, ebx
je 0x4b4e9e
push ebx
call sub.mfc90.dll_Ordinal_266
add esp, 4
cmp edi, 0xc0000004
je 0x4b4eae
cmp edi, 0xc0000004
jne 0x4b4ecb
mov edi, dword [ebp - 0x20]
add edi, 0xa000
push edi
call sub.mfc90.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x14], eax
inc esi
mov ebx, eax
cmp esi, 0x14
jl 0x4b4e80
test ebx, ebx
je 0x4b4ed8
push ebx
call sub.mfc90.dll_Ordinal_266
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, ebx
mov edi, edi
cmp dword [edi], 0
je 0x4b5031
mov esi, dword [edi + 0x44]
xor eax, eax
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 8]
test edx, edx
jle 0x4b4f1f
test eax, eax
jl 0x4b4f26
cmp eax, edx
jge 0x4b4f26
mov ecx, dword [ebx + 4]
lea ecx, [ecx + eax*4]
cmp esi, dword [ecx]
je 0x4b4f2b
inc eax
cmp eax, edx
jl 0x4b4f08
add edi, dword [edi]
mov ebx, dword [ebp - 0x14]
jmp 0x4b4ef0
call sub.mfc90.dll_Ordinal_1252
xor esi, esi
mov dword [ebp - 0x18], esi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [edi + 4]
jae 0x4b4f1f
mov dword [ebp - 4], 0
mov edx, ecx
shl edx, 6
lea eax, [edx + edi + 0xb8]
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x28], edx
mov ebx, dword [eax + 0x38]
mov dword [ebp - 0x30], ebx
cmp ebx, 6
jne 0x4b4f83
test esi, esi
je 0x4b4f66
cmp edx, esi
jne 0x4b4f72
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4b4f83
cmp eax, 6
je 0x4b4f83
mov dword [ebp - 4], 0xffffffff
add edi, dword [edi]
mov ebx, dword [ebp - 0x14]
jmp 0x4b4ef0
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0xffffffff
mov al, 1
test al, al
je 0x4b4ff3
mov eax, dword [edi + 0x44]
push eax
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4b4fd4
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x24], 0x103
jne 0x4b4fcd
push 0x103
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [edi + 0x3c]
push edx
mov eax, dword [edi + 0x44]
push eax
push str.Process_Kill_fail_eject_dll_PID__d___ws_ThreadState__d_WaitReason__d_
push 8
call fcn.0043d500
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
inc ecx
mov esi, dword [ebp - 0x2c]
jmp 0x4b4f32
test ebx, ebx
je 0x4b503e
push ebx
call sub.mfc90.dll_Ordinal_266
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret