Function at 0x10020ab0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x101933a0]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x10020e68
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
mov eax, 0x1015c9f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24c]
test eax, 0xffff0000
jne 0x10020b31
movzx eax, ax
push eax
call fcn.1000b800
jmp 0x10020b3d
push 0
push 0x1015c9f0
call fcn.1000e410
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 1
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x250]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x254], ebx
test ebx, ebx
je 0x10020cff
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10129ae0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push ebx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x10020bde
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10020bb0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.1000e410
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10020e0e
call fcn.10047b10
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10020cf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5b
push str.d:jenkins.jenkinsworkspacelib_common_browser_basic_browser_basic_browser_browsermgr.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov ebx, eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100084b0
push 3
push 0x1015b938
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.100084b0
mov byte [ebp - 4], 3
call fcn.10047b10
mov edi, eax
lea ecx, [ebp - 0x2f0]
push 0x199
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004410
mov esi, eax
push str.getAppPathByWnd_GetProcessImageFileName
push esi
mov byte [ebp - 4], 4
call fcn.10005620
add esp, 8
mov ecx, esi
push dword [ebp - 0x250]
call fcn.1000c7c0
push str._failed.
push esi
call fcn.10005620
add esp, 8
mov ecx, esi
push ebx
call fcn.1000c7c0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2f0]
call fcn.10005c20
lea ecx, [ebp - 0x230]
call fcn.10004da0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.10004da0
mov ebx, dword [ebp - 0x254]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10020e0e
call fcn.10047b10
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10020e0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5b
push str.d:jenkins.jenkinsworkspacelib_common_browser_basic_browser_basic_browser_browsermgr.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov ebx, eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.100084b0
push 3
push 0x1015b938
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 5
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100084b0
mov byte [ebp - 4], 6
call fcn.10047b10
mov edi, eax
lea ecx, [ebp - 0x2f0]
push 0x1a6
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10004410
mov esi, eax
push str.getAppPathByWnd_OpenProcess
push esi
mov byte [ebp - 4], 7
call fcn.10005620
add esp, 8
mov ecx, esi
push dword [ebp - 0x250]
call fcn.1000c7c0
push str._failed.
push esi
call fcn.10005620
add esp, 8
mov ecx, esi
push ebx
call fcn.1000c7c0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2f0]
call fcn.10005c20
lea ecx, [ebp - 0x248]
call fcn.10004da0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.10004da0
mov esi, dword [ebp - 0x24c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, dword [ebp - 0x258]
mov ecx, edi
push eax
call fcn.1001dc60
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10020e48
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.10061045
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.1000b280
int3