Function at 0x10019b20
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cb60e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd58
mov dword [ebp - 0xd60], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd10], eax
lea ecx, [ebp - 0xd10]
push ecx
mov ecx, dword [ebp - 0xd60]
add ecx, 0x210
call fcn.1001ccf0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10019bed
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x2e6]
test edx, edx
jne 0x10019be5
mov ecx, dword [ebp - 0x18]
call fcn.100190f0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x39]
push ecx
push str.Attempting_re_injection_for___ws_
call fcn.10010cb0
add esp, 8
call fcn.1001a260
push str.FusionUser
push 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x12]
push eax
push 0
call fcn.10002000
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10019be5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x39]
push edx
push str.Injection_worked___ws_
call fcn.10010cb0
add esp, 8
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x2e6], 1
mov eax, dword [ebp - 0x18]
jmp 0x1001a17d
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1001a17b
push 0x2e7
call fcn.1009ead1
add esp, 4
mov dword [ebp - 0xd18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0xd18], 0
je 0x10019c41
mov ecx, dword [ebp - 0xd18]
call fcn.10018ae0
mov dword [ebp - 0xd64], eax
jmp 0x10019c4b
mov dword [ebp - 0xd64], 0
mov edx, dword [ebp - 0xd64]
mov dword [ebp - 0xd14], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd14]
mov dword [ebp - 0xd04], eax
push 0x400
lea ecx, [ebp - 0xcfc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.PSAPI.DLL_GetProcessImageFileNameW
mov eax, dword [ebp - 0xd04]
mov ecx, dword [eax + 0x29]
push ecx
mov edx, dword [ebp - 0xd04]
mov eax, dword [edx + 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call sub.PSAPI.DLL_GetModuleFileNameExW
mov edx, dword [ebp - 0xd04]
mov eax, dword [edx + 0x1e]
push eax
call fcn.1009ecbb
add esp, 4
cmp eax, 1
jae 0x10019cd2
mov ecx, dword [ebp - 0xd04]
mov edx, dword [ecx + 0x29]
push edx
mov eax, dword [ebp - 0xd04]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.PSAPI.DLL_GetProcessImageFileNameW
mov eax, dword [ebp - 0xd04]
mov ecx, dword [eax + 0x31]
push ecx
mov edx, dword [ebp - 0xd04]
mov eax, dword [edx + 0x1e]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.PSAPI.DLL_GetProcessImageFileNameW
mov edx, dword [ebp - 0xd04]
mov eax, dword [edx + 0x2d]
mov dword [ebp - 0xd2c], eax
mov ecx, dword [ebp - 0xd04]
mov edx, dword [ecx + 0xe]
mov dword [ebp - 0xd28], edx
push bind
push 0
mov eax, dword [ebp - 0xd2c]
push eax
mov ecx, dword [ebp - 0xd28]
push ecx
call fcn.1009da4e
mov dword [ebp - 0xd24], eax
cmp dword [ebp - 0xd24], 0
jl 0x10019d5b
push bind
push str.C:Unknown.exe
push 0
mov edx, dword [ebp - 0xd2c]
push edx
mov eax, dword [ebp - 0xd28]
push eax
call fcn.1009db9f
mov dword [ebp - 0xd24], eax
mov ecx, dword [ebp - 0xd04]
mov edx, dword [ecx + 0xe]
push edx
call fcn.1009ecbb
add esp, 4
mov ecx, dword [ebp - 0xd04]
mov word [ecx + 0xc], ax
mov edx, dword [ebp - 0xd04]
mov eax, dword [edx + 0x18]
push eax
call fcn.1009ecbb
add esp, 4
mov ecx, dword [ebp - 0xd04]
mov word [ecx + 0x16], ax
mov edx, dword [ebp - 0xd04]
mov eax, dword [edx + 0x1e]
push eax
call fcn.1009ecbb
add esp, 4
mov ecx, dword [ebp - 0xd04]
mov word [ecx + 0x1c], ax
mov edx, dword [ebp - 0xd04]
mov eax, dword [edx + 0x24]
push eax
call fcn.1009ecbb
add esp, 4
mov ecx, dword [ebp - 0xd04]
mov word [ecx + 0x22], ax
mov edx, dword [ebp - 0xd04]
mov eax, dword [ebp + 8]
mov dword [edx + 0x12], eax
push 0
push 0x18
lea ecx, [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [0x100f4c7c]
mov dword [ebp - 0xd00], eax
lea eax, [ebp - 0x4f8]
push eax
push 0x1c
lea ecx, [ebp - 0x2e8]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10019f78
lea ecx, [ebp - 0x4f8]
push ecx
push 0x90
lea edx, [ebp - 0x2cc]
push edx
mov eax, dword [ebp - 0x2d8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10019f78
movzx eax, word [ebp - 0x28c]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1009ead1
add esp, 4
mov dword [ebp - 0xd1c], eax
mov eax, dword [ebp - 0xd1c]
mov dword [ebp - 0xd08], eax
movzx ecx, word [ebp - 0x28c]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0xd08]
push eax
call fcn.1009eb40
add esp, 0xc
lea ecx, [ebp - 0x4f8]
push ecx
movzx edx, word [ebp - 0x28c]
push edx
mov eax, dword [ebp - 0xd08]
push eax
mov ecx, dword [ebp - 0x288]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movzx eax, word [ebp - 0x28c]
mov dword [ebp - 0xd3c], eax
mov ecx, dword [ebp - 0xd04]
mov edx, dword [ecx + 0x31]
mov dword [ebp - 0xd38], edx
mov eax, dword [ebp - 0xd04]
mov ecx, dword [eax + 0x1e]
mov dword [ebp - 0xd34], ecx
push bind
push 0
mov edx, dword [ebp - 0xd38]
push edx
mov eax, dword [ebp - 0xd34]
push eax
call fcn.1009da4e
mov dword [ebp - 0xd30], eax
cmp dword [ebp - 0xd30], 0
jl 0x10019f5c
cmp dword [ebp - 0xd3c], 0x7ffffffe
jbe 0x10019f33
mov dword [ebp - 0xd30], 0x80070057
xor ecx, ecx
mov edx, dword [ebp - 0xd34]
mov word [edx], cx
jmp 0x10019f5c
mov eax, dword [ebp - 0xd3c]
push eax
mov ecx, dword [ebp - 0xd08]
push ecx
push 0
mov edx, dword [ebp - 0xd38]
push edx
mov eax, dword [ebp - 0xd34]
push eax
call fcn.1009db9f
mov dword [ebp - 0xd30], eax
mov ecx, dword [ebp - 0xd04]
mov edx, dword [ecx + 0x1e]
push edx
call fcn.1009ecbb
add esp, 4
mov ecx, dword [ebp - 0xd04]
mov word [ecx + 0x1c], ax
mov edx, dword [ebp + 8]
push edx
push str.Fusion::GetProcess_allocated_new_node_for_process__p
call fcn.10010cb0
add esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd20], eax
lea ecx, [ebp - 0xd04]
push ecx
lea edx, [ebp - 0xd20]
push edx
mov ecx, dword [ebp - 0xd60]
add ecx, 0x210
call fcn.1001cc90
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x20], 0
je 0x1001a06f
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xd60]
call fcn.10019b20
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 0
je 0x1001a06f
mov ecx, dword [ebp - 0xd0c]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0xd4c], edx
mov eax, dword [ebp - 0xd04]
mov ecx, dword [eax + 0x2d]
mov dword [ebp - 0xd48], ecx
mov edx, dword [ebp - 0xd04]
mov eax, dword [edx + 0xe]
mov dword [ebp - 0xd44], eax
push bind
push 0
mov ecx, dword [ebp - 0xd48]
push ecx
mov edx, dword [ebp - 0xd44]
push edx
call fcn.1009da4e
mov dword [ebp - 0xd40], eax
cmp dword [ebp - 0xd40], 0
jl 0x1001a05d
push bind
mov eax, dword [ebp - 0xd4c]
push eax
push 0
mov ecx, dword [ebp - 0xd48]
push ecx
mov edx, dword [ebp - 0xd44]
push edx
call fcn.1009db9f
mov dword [ebp - 0xd40], eax
mov eax, dword [ebp - 0xd04]
mov ecx, dword [ebp - 0xd0c]
mov edx, dword [ecx + 0x12]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0xd04]
movzx ecx, word [eax + 0x16]
mov dword [ebp - 0xd58], ecx
mov edx, dword [ebp - 0xd04]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0xd54], eax
push bind
push 0
push 0x104
lea ecx, [ebp - 0x23c]
push ecx
call fcn.1009da4e
mov dword [ebp - 0xd50], eax
cmp dword [ebp - 0xd50], 0
jl 0x1001a0fd
cmp dword [ebp - 0xd58], 0x7ffffffe
jbe 0x1001a0d6
mov dword [ebp - 0xd50], 0x80070057
xor edx, edx
mov word [ebp - 0x23c], dx
jmp 0x1001a0fd
mov eax, dword [ebp - 0xd58]
push eax
mov ecx, dword [ebp - 0xd54]
push ecx
push 0
push 0x104
lea edx, [ebp - 0x23c]
push edx
call fcn.1009db9f
mov dword [ebp - 0xd50], eax
push 0
lea eax, [ebp - 0x4f4]
push eax
push 0x104
lea ecx, [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ecx, dword [ebp - 0xd04]
call fcn.100190f0
mov edx, dword [ebp - 0xd04]
mov byte [edx + 0x2e6], 1
mov eax, dword [ebp - 0xd04]
mov ecx, dword [eax + 0x39]
push ecx
push str.Injecting_into_open_process___ws_
call fcn.10010cb0
add esp, 8
push str.StartupFusionUser
push str.FusionUser.dll
mov edx, dword [ebp + 8]
push edx
call fcn.100021d0
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0xd5c], edx
mov eax, dword [ebp - 0xd5c]
jmp 0x1001a17d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4