Function at 0x10007430
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009465d
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x100c2354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], cx
push dword [eax]
mov dword [ebp - 4], ecx
push ecx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x238], esi
test esi, esi
jne 0x100075c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x238], eax
call fcn.1002ead0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000772a
push 0x63
push str.d:jenkins.jenkinsworkspacegroup_cleanmemory_optimizer_promemory_optimizer_procommonutils.cc
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], al
call fcn.10009610
push 3
push 0x1009c854
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
call fcn.10009610
mov byte [ebp - 4], 2
call fcn.1002ead0
mov edi, eax
lea ecx, [ebp - 0x304]
push 0x50
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.100046b0
mov esi, eax
push str.OpenProcess_fail__errno_
push esi
mov byte [ebp - 4], 3
call fcn.10005890
add esp, 8
mov ecx, esi
push dword [ebp - 0x238]
call fcn.10005540
push str._pid_
push esi
call fcn.10005890
mov eax, dword [ebp - 0x234]
add esp, 8
mov ecx, esi
push dword [eax]
call fcn.10005540
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x304]
call fcn.10006210
lea ecx, [ebp - 0x250]
call fcn.10005150
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call fcn.10005150
jmp 0x1000772a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1006a7b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
jne 0x100076f8
call fcn.1002ead0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10007723
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x63
push str.d:jenkins.jenkinsworkspacegroup_cleanmemory_optimizer_promemory_optimizer_procommonutils.cc
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
call fcn.10009610
push 3
push 0x1009c854
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], 0
call fcn.10009610
mov byte [ebp - 4], 5
call fcn.1002ead0
mov edi, eax
lea ecx, [ebp - 0x304]
push 0x55
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.100046b0
mov esi, eax
push str.GetModuleBaseName_fail__errno_
push esi
mov byte [ebp - 4], 6
call fcn.10005890
add esp, 8
mov ecx, esi
push dword [ebp - 0x234]
call fcn.10005540
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x304]
call fcn.10006210
lea ecx, [ebp - 0x26c]
call fcn.10005150
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0
call fcn.10005150
mov esi, dword [ebp - 0x238]
jmp 0x10007723
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007701
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.10009710
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x21c]
lea edx, [ebp - 0x230]
mov esi, dword [ebp - 0x220]
cmp edi, 8
cmovae edx, dword [ebp - 0x230]
test esi, esi
je 0x10007828
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x10007774
cmp ecx, edx
je 0x10007828
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x10007763
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
je 0x10007828
xor eax, eax
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], ax
lea edx, [ecx + 1]
mov eax, esi
mov dword [ebp - 0x23c], 7
sub eax, ecx
lea ecx, [eax - 1]
cmp esi, edx
jb 0x1000786e
sub esi, edx
lea eax, [ebp - 0x230]
cmp esi, ecx
cmovb ecx, esi
cmp edi, 8
push ecx
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x250]
lea eax, [eax + edx*2]
push eax
call fcn.10009710
lea ecx, [ebp - 0x230]
call fcn.100051a0
movups xmm0, xmmword [ebp - 0x250]
xor eax, eax
lea ecx, [ebp - 0x250]
mov word [ebp - 0x250], ax
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [ebp - 0x240]
movq qword [ebp - 0x220], xmm0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
call fcn.100051a0
mov eax, dword [ebp - 0x254]
movups xmm0, xmmword [ebp - 0x230]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ff7e
mov esp, ebp
pop ebp
ret
call fcn.10009070
int3