Function at 0x10010df0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a3c45
mov eax, dword fs:[0]
push eax
sub esp, 0x7b8
mov eax, dword [0x100d40f8]
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 ebx, edx
mov esi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100781c0
push 0x206
lea eax, [ebp - 0x41e]
push 0
push eax
call fcn.100781c0
add esp, 0x18
xor eax, eax
mov word [ebp - 0x420], ax
push esi
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x10010f44
sub esp, 8
lea ecx, [ebp - 0x504]
call fcn.10002870
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str.OpenProcess_Failed:
lea ecx, [ebp - 0x4f4]
call fcn.10003650
mov ecx, eax
call fcn.10013040
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x504]
call fcn.10002760
mov esi, eax
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x10010eba
mov esi, dword [esi]
mov eax, dword [0x100da654]
test eax, eax
jne 0x10010eea
push 0xf0
call fcn.1005e9e5
add esp, 4
mov dword [ebp - 0x454], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.100066a0
mov byte [ebp - 4], 1
mov dword [0x100da654], eax
push esi
push 4
mov ecx, eax
call fcn.10006d40
mov eax, dword [ebp - 0x424]
cmp eax, 0x10
jb 0x10010f12
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.10005e10
lea ecx, [ebp - 0x49c]
call fcn.10002780
lea eax, [ebp - 0x49c]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1005c933
add esp, 4
xor eax, eax
jmp 0x10011214
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
jne 0x10011003
sub esp, 8
lea ecx, [ebp - 0x5b4]
call fcn.10002870
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str.GetProcessImageFileName_Failed:
lea ecx, [ebp - 0x5a4]
call fcn.10003650
mov ecx, eax
call fcn.10013040
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x5b4]
call fcn.10002760
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x10010fb0
mov eax, dword [eax]
push eax
push 4
call fcn.10006640
mov ecx, eax
call fcn.10006d40
lea ecx, [ebp - 0x438]
call fcn.10005ec0
lea ecx, [ebp - 0x54c]
call fcn.10002780
lea eax, [ebp - 0x54c]
mov dword [ebp - 4], 6
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1005c933
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10011214
lea edx, [ebp - 0x420]
lea ecx, [ebp - 0x218]
call fcn.10010c50
test eax, eax
jne 0x100111fa
sub esp, 8
lea ecx, [ebp - 0x664]
call fcn.10002870
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 7
push eax
lea ecx, [ebp - 0x438]
call fcn.10002700
push ecx
lea edx, [ebp - 0x438]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x450]
call fcn.1000f650
add esp, 4
mov esi, eax
mov edx, str.GetProcessImageFileName_szImagePath:
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x654]
call fcn.10003650
mov edx, esi
mov ecx, eax
call fcn.10003900
lea ecx, [ebp - 0x450]
call fcn.10005ec0
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 7
call fcn.10006460
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x664]
call fcn.10002760
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x100110b3
mov eax, dword [eax]
push eax
push 4
call fcn.10006640
mov ecx, eax
call fcn.10006d40
lea ecx, [ebp - 0x450]
call fcn.10005ec0
lea ecx, [ebp - 0x664]
mov dword [ebp - 4], 0xffffffff
call fcn.100024c0
sub esp, 8
lea ecx, [ebp - 0x714]
call fcn.10002870
mov dword [ebp - 4], 0xb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
mov edx, str.DosPathToNtPath_Failed:
lea ecx, [ebp - 0x704]
call fcn.10003650
mov ecx, eax
call fcn.10013040
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x714]
call fcn.10002760
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 0x10
jb 0x10011132
mov eax, dword [eax]
push eax
push 4
call fcn.10006640
mov ecx, eax
call fcn.10006d40
lea ecx, [ebp - 0x450]
call fcn.10005ec0
lea ecx, [ebp - 0x714]
mov dword [ebp - 4], 0xffffffff
call fcn.100024c0
push 0
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x100111fa
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 8
lea ecx, [ebp - 0x7c4]
call fcn.10002870
mov dword [ebp - 4], 0xd
call esi
push eax
mov edx, str.DosPathToNtPath_Failed:
lea ecx, [ebp - 0x7b4]
call fcn.10003650
mov ecx, eax
call fcn.10013040
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x7c4]
call fcn.10002760
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x100111d1
mov eax, dword [eax]
push eax
push 4
call fcn.10006640
mov ecx, eax
call fcn.10006d40
lea ecx, [ebp - 0x438]
call fcn.10005ec0
lea ecx, [ebp - 0x7c4]
call fcn.100024c0
xor eax, eax
jmp 0x10011214
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
call fcn.1000e320
mov eax, 1
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.1005e9d4
mov esp, ebp
pop ebp
ret