Function at 0x45a6a0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d601
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x5f7448]
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 - 0x2e4], ecx
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2ec], edi
mov dword [ebp - 0x2e0], ebx
mov dword [ebp - 0x2e8], ebx
mov dword [ebp - 0x2dc], 0
call fcn.0040f2f0
mov dword [ebp - 4], 1
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x45a73d
lea eax, [ebp - 0x2d8]
push eax
mov ecx, edi
call fcn.00441710
mov dword [ebp - 0x2dc], 1
mov byte [ebp - 4], 0
jmp 0x45aa46
push 0x208
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
push esi
test eax, eax
jne 0x45a77b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2d8]
push eax
mov ecx, edi
call fcn.00441710
mov dword [ebp - 0x2dc], 1
mov byte [ebp - 4], 0
jmp 0x45aa46
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.004038b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
push 0x5c
mov dword [ebp - 0x2dc], 2
call fcn.00461b90
add esp, 0x10
test al, al
je 0x45a82d
cmp dword [ebp - 0x220], 0
je 0x45a82d
xor bl, bl
jmp 0x45a82f
mov bl, 1
mov dword [ebp - 4], 3
mov esi, 2
mov dword [ebp - 0x2dc], esi
and esi, 0xfffffffd
mov dword [ebp - 0x2dc], esi
cmp dword [ebp - 0x24c], 8
jb 0x45a861
push dword [ebp - 0x260]
call fcn.004ad196
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
test bl, bl
je 0x45a89e
lea eax, [ebp - 0x2d8]
push eax
mov ecx, edi
call fcn.00441710
or esi, 1
mov dword [ebp - 0x2dc], esi
jmp 0x45a9db
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push str.MCUI32.exe
push eax
call fcn.004b0d95
mov ebx, dword [ebp - 0x2e0]
add esp, 8
test eax, eax
je 0x45a978
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x260]
push ebx
push eax
call fcn.004590d0
add esp, 0xc
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00403960
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x260]
call fcn.00403930
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0045ef30
add esp, 8
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00403960
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x260]
call fcn.00403930
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0045edf0
add esp, 8
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00403960
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x260]
call fcn.00403930
mov dword [ebp - 0x2d8], 2
mov dword [ebp - 0x2d4], ebx
mov ebx, dword [ebp - 0x2e4]
push 1
push dword [ebx + 0xc]
lea ecx, [ebp - 0x2f8]
call fcn.0049bd60
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebx + 4]
call fcn.00441b10
mov ecx, eax
call fcn.0040f980
lea eax, [ebp - 0x2d8]
push eax
mov ecx, edi
call fcn.00441710
or esi, 1
mov dword [ebp - 0x2dc], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2f8]
call fcn.0049bd90
mov byte [ebp - 4], 2
cmp dword [ebp - 0x21c], 8
jb 0x45a9f6
push dword [ebp - 0x230]
call fcn.004ad196
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x234], 8
jb 0x45aa2a
push dword [ebp - 0x248]
call fcn.004ad196
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], eax
mov word [ebp - 0x248], ax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x2d8]
call fcn.0040f730
mov eax, edi
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.004adbd4
mov esp, ebp
pop ebp
ret 8