Function at 0x10018390
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ff0d
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x100b7314]
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 0x10018526
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x238], eax
call fcn.100406f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001868a
push 0x6a
push str.d:jenkins.jenkinsworkspacegroup_cleanprivacy_protectionprivacy_protectionprivacy_srcutilsutils.cc
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], 0xf
mov byte [ebp - 0x26c], al
call fcn.10014280
push 3
push 0x10096c40
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.10014280
mov byte [ebp - 4], 2
call fcn.100406f0
mov edi, eax
lea ecx, [ebp - 0x304]
push 0x3e
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.10006440
mov esi, eax
push str.OpenProcess_fail__errno_
push esi
mov byte [ebp - 4], 3
call fcn.10007da0
add esp, 8
mov ecx, esi
push dword [ebp - 0x238]
call fcn.10007c00
push str._pid_
push esi
call fcn.10007da0
mov eax, dword [ebp - 0x234]
add esp, 8
mov ecx, esi
push dword [eax]
call fcn.10007c00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x304]
call fcn.10008070
lea ecx, [ebp - 0x250]
call fcn.100070d0
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call fcn.100070d0
jmp 0x1001868a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10061d90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
jne 0x10018658
call fcn.100406f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10018683
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x6a
push str.d:jenkins.jenkinsworkspacegroup_cleanprivacy_protectionprivacy_protectionprivacy_srcutilsutils.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.10014280
push 3
push 0x10096c40
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.10014280
mov byte [ebp - 4], 5
call fcn.100406f0
mov edi, eax
lea ecx, [ebp - 0x304]
push 0x43
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.10006440
mov esi, eax
push str.GetModuleBaseName_fail__errno_
push esi
mov byte [ebp - 4], 6
call fcn.10007da0
add esp, 8
mov ecx, esi
push dword [ebp - 0x234]
call fcn.10007c00
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x304]
call fcn.10008070
lea ecx, [ebp - 0x26c]
call fcn.100070d0
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0
call fcn.100070d0
mov esi, dword [ebp - 0x238]
jmp 0x10018683
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018661
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.10014380
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 0x10018788
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 0x100186d4
cmp ecx, edx
je 0x10018788
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x100186c3
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
je 0x10018788
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 0x100187ce
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.10014380
lea ecx, [ebp - 0x230]
call fcn.10007120
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.10007120
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.1003c735
mov esp, ebp
pop ebp
ret
call fcn.10013ae0
int3