Function at 0x44b070
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x156c
call fcn.00551150
mov eax, dword [0x5d7ce0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x206
xor edi, edi
lea edx, [ebp - 0x276]
xor ecx, ecx
push edi
push edx
mov dword [ebp - 0x1568], eax
mov dword [ebp - 0x1544], 0x4377b0
mov esi, 1
mov word [ebp - 0x278], cx
call fcn.00550f40
or ebx, 0xffffffff
mov eax, 0x4377b0
add esp, 0xc
mov dword [ebp - 0x154c], ebx
mov dword [ebp - 0x1548], ebx
mov dword [ebp - 0x1550], edi
mov dword [ebp - 0x153c], edi
test eax, eax
jne 0x44b0f2
mov ecx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1544], ecx
lea edx, [ebp - 0x1538]
push edx
mov dword [ebp - 0x1538], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44b4a6
cmp dword [ebp - 0x1528], 2
jne 0x44b4a6
cmp dword [ebp + 0xc], ebx
jne 0x44b17a
lea eax, [ebp - 0x153c]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, edi
je 0x44b4a8
mov eax, dword [ebp - 0x153c]
lea ecx, [ebp - 0x1550]
push ecx
push 4
lea edx, [ebp - 0x154c]
push edx
push 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ecx, dword [ebp - 0x153c]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
je 0x44b4a6
push str.PSAPI.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x1564], ebx
cmp ebx, edi
jne 0x44b1a4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054bd91
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push ebx
call esi
push str.GetModuleBaseNameW
push ebx
mov edi, eax
call esi
push str.GetProcessImageFileNameW
push ebx
mov dword [ebp - 0x1558], eax
call esi
mov dword [ebp - 0x1560], eax
test edi, edi
je 0x44b484
cmp dword [ebp - 0x1558], 0
je 0x44b484
lea edx, [ebp - 0x155c]
push edx
push 0x3e8
lea eax, [ebp - 0x1420]
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x44b486
mov edi, dword [ebp - 0x155c]
shr edi, 2
mov dword [ebp - 0x1554], edi
call fcn.0044b4c0
xor esi, esi
mov dword [ebp - 0x1540], esi
test edi, edi
jle 0x44b486
jmp 0x44b230
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + esi*4 - 0x1420], eax
je 0x44b452
push str.Unknown
lea ecx, [ebp - 0x278]
push 0x104
push ecx
call fcn.00550010
mov edx, dword [ebp + esi*4 - 0x1420]
add esp, 0xc
push edx
push 0
push 0x410
call dword [ebp - 0x1544]
mov edi, eax
xor esi, esi
test edi, edi
je 0x44b331
push 0x104
lea eax, [ebp - 0x278]
push eax
push esi
push edi
call dword [ebp - 0x1558]
mov esi, eax
test esi, esi
jne 0x44b331
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12b
jne 0x44b331
mov eax, dword [ebp - 0x1560]
test eax, eax
je 0x44b331
push 0x104
lea ecx, [ebp - 0x278]
push ecx
push edi
call eax
mov esi, eax
test esi, esi
je 0x44b331
push 0x32
lea edx, [ebp - 0x70]
push edx
push 0x104
lea eax, [ebp - 0x480]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x278]
push 0
push ecx
call fcn.0054f4dd
add esp, 0x24
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x480]
push eax
push 0x5ab228
lea edx, [ebp - 0x278]
call fcn.0044b6a0
lea eax, [ebp - 0x278]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44b320
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 0x44b446
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x278]
push ecx
call esi
push 0x5b14a0
call esi
mov edx, dword [ebp - 0x1568]
push edx
lea eax, [ebp - 0x278]
push eax
call fcn.0054e01b
add esp, 8
test eax, eax
jne 0x44b446
cmp dword [ebp + 0xc], 0xfffffffe
je 0x44b40c
mov ecx, dword [ebp - 0x1540]
mov edx, dword [ebp + ecx*4 - 0x1420]
push edx
push eax
push 0x400
mov dword [ebp - 0x1548], 0xffffffff
call dword [ebp - 0x1544]
mov esi, eax
test esi, esi
je 0x44b3ed
lea eax, [ebp - 0x153c]
push eax
push 8
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ebx, eax
test ebx, ebx
je 0x44b3ea
mov eax, dword [ebp - 0x153c]
lea ecx, [ebp - 0x1550]
push ecx
push 4
lea edx, [ebp - 0x1548]
push edx
push 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ecx, dword [ebp - 0x153c]
push ecx
mov ebx, eax
call edi
push esi
call edi
mov eax, dword [ebp - 0x1548]
cmp eax, 0xffffffff
je 0x44b446
mov ecx, dword [ebp + 0xc]
cmp ecx, 0xffffffff
jne 0x44b408
cmp eax, dword [ebp - 0x154c]
jmp 0x44b40a
cmp eax, ecx
jne 0x44b446
mov edx, dword [ebp - 0x1540]
mov eax, dword [ebp + edx*4 - 0x1420]
push eax
push 0
push 1
call dword [ebp - 0x1544]
mov esi, eax
test esi, esi
je 0x44b484
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x44b481
push 0x7d0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
mov esi, dword [ebp - 0x1540]
mov edi, dword [ebp - 0x1554]
inc esi
mov dword [ebp - 0x1540], esi
cmp esi, edi
jl 0x44b230
mov ecx, dword [ebp - 0x1564]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054bd91
mov esp, ebp
pop ebp
ret
push esi
call edi
xor ebx, ebx
mov ecx, dword [ebp - 0x1564]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054bd91
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054bd91
mov esp, ebp
pop ebp
ret