Function at 0x4da5c0
Capabilities:
Get process image filename

Disassembly:
jmp 0x4da5c0
push 0xffffffffffffffff
push 0x787266
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x30c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x324]
mov dword fs:[0], eax
mov edi, dword [esp + 0x334]
mov dword [esp + 0x1c], ecx
xor ebx, ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], ebx
call fcn.004088f5
mov ebp, dword [esp + 0x338]
push ebp
push ebx
push 0x410
mov dword [esp + 0x338], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
jne 0x4da655
lea eax, [esp + 0x84]
push eax
mov ecx, edi
call fcn.004023e7
jmp 0x4da8a0
push 0x208
lea ecx, [esp + 0x11c]
push ecx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
push esi
test eax, eax
jne 0x4da687
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x84]
push edx
mov ecx, edi
call fcn.004023e7
jmp 0x4da8a0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], cx
xor edx, edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], dx
lea eax, [esp + 0x118]
mov ebx, 3
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x330], bl
call fcn.00403706
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x28]
push eax
mov esi, 2
push 0x5c
mov byte [esp + 0x33c], 4
mov dword [esp + 0x28], esi
call fcn.00408233
add esp, 0x10
test al, al
je 0x4da70a
cmp dword [esp + 0x60], 0
mov byte [esp + 0x17], 0
jne 0x4da70f
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x32c], ebx
mov dword [esp + 0x18], 0
call fcn.00403a26
cmp byte [esp + 0x17], 0
je 0x4da742
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
call fcn.004023e7
jmp 0x4da88e
cmp dword [esp + 0x64], 8
mov eax, dword [esp + 0x50]
jae 0x4da751
lea eax, [esp + 0x50]
push str.MCUI32.exe
push eax
call fcn.005680c6
add esp, 8
test eax, eax
je 0x4da826
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.00404b15
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x338], 5
call fcn.00406f1e
lea ecx, [esp + 0x20]
mov byte [esp + 0x32c], bl
call fcn.00403a26
lea ecx, [esp + 0x118]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0040655f
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x338], 6
call fcn.00406f1e
lea ecx, [esp + 0x20]
mov byte [esp + 0x32c], bl
call fcn.00403a26
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00407a09
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x338], 7
call fcn.00406f1e
lea ecx, [esp + 0x20]
mov byte [esp + 0x32c], bl
call fcn.00403a26
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 0x24]
push 1
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x90], ebp
call fcn.00549490
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x33c]
push ecx
lea ecx, [esi + 4]
mov byte [esp + 0x334], 8
call fcn.0040267b
mov ecx, eax
call fcn.00408e04
lea edx, [esp + 0x84]
push edx
mov ecx, edi
call fcn.004023e7
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], 1
mov byte [esp + 0x32c], bl
call fcn.00549420
lea ecx, [esp + 0x4c]
call fcn.00403a26
lea ecx, [esp + 0x68]
call fcn.00403a26
lea ecx, [esp + 0x84]
call fcn.004063de
mov eax, edi
mov ecx, dword [esp + 0x324]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30c]
xor ecx, esp
call fcn.00564b24
add esp, 0x31c
ret 8