Function at 0x10043900
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cae22
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x101063e4]
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 ebx, dword [ebp + 0xc]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x260], eax
xor eax, eax
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x258], eax
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x10043fbb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x254], eax
push 0x100d2904
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], 0
call fcn.10004090
test al, al
jne 0x10043998
push 0
push 0x100d2904
lea ecx, [ebp - 0x254]
call fcn.100044d0
push ebx
push 0
push 0x410
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
or ebx, 0xffffffff
mov dword [ebp - 0x250], esi
test esi, esi
je 0x10043b73
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1009c500
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x10043a23
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100439f5
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.100044d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10043cb1
call fcn.10057ca0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10043b67
push 0x6b
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145monitor_filemonitor.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.100056d0
push 3
push 0x100d61c4
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
mov byte [ebp - 4], 3
call fcn.10057ca0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x25c]
lea eax, [ebp - 0x24c]
push str.getAppNameById_GetProcessImageFileName__d_failed.__d
push 2
push eax
call fcn.10057a70
mov eax, 2
add esp, 0x14
mov dword [ebp - 0x258], eax
push 0x183
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x304]
call fcn.10008240
mov esi, eax
mov eax, dword [ebp - 0x24c]
mov ecx, 0x100d5f94
test eax, eax
mov byte [ebp - 4], 5
cmovne ecx, eax
push ecx
push esi
call fcn.10006cb0
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x304]
call fcn.10009a50
mov edx, dword [ebp - 0x24c]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10043b47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x248]
call fcn.10003d60
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.10003d60
mov esi, dword [ebp - 0x250]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10043cb1
call fcn.10057ca0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10043cb1
push 0x6b
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145monitor_filemonitor.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.100056d0
push 3
push 0x100d61c4
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 6
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
mov byte [ebp - 4], 7
call fcn.10057ca0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x25c]
lea eax, [ebp - 0x24c]
push str.getAppNameById_OpenProcess__d_failed.__d
push 2
push eax
call fcn.10057a70
mov eax, 4
add esp, 0x14
mov dword [ebp - 0x258], eax
push 0x18a
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x304]
call fcn.10008240
mov esi, eax
mov eax, dword [ebp - 0x24c]
mov ecx, 0x100d5f94
test eax, eax
mov byte [ebp - 4], 9
cmovne ecx, eax
push ecx
push esi
call fcn.10006cb0
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x304]
call fcn.10009a50
mov edx, dword [ebp - 0x24c]
mov eax, ebx
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10043c97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x248]
call fcn.10003d60
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.10003d60
call fcn.10057ca0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov esi, dword [ebp - 0x254]
movzx eax, al
sub eax, 1
jne 0x10043ec5
push 0x6b
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145monitor_filemonitor.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100056d0
push 3
push 0x100d61c4
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.100056d0
mov byte [ebp - 4], 0xb
call fcn.10057ca0
mov dword [ebp - 0x24c], eax
lea eax, [esi - 0x10]
push eax
call fcn.100041c0
lea edi, [eax + 0x10]
mov dword [ebp - 0x250], edi
push edi
push dword [ebp - 0x25c]
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0xd
push str.getAppNameById__d__s_
push 2
push eax
call fcn.10057a70
or dword [ebp - 0x258], 8
add esp, 0x18
mov dword [ebp - 0x250], eax
add edi, 0xfffffff0
mov byte [ebp - 4], 0xc
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10043d9b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x18c
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x304]
call fcn.10008240
mov edi, eax
mov eax, dword [ebp - 0x250]
mov ecx, 0x100d5f94
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.10006cb0
mov ecx, dword [ebp - 0x24c]
add esp, 8
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x304]
call fcn.10009a50
mov edx, dword [ebp - 0x268]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10043e13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x10043e51
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10043e47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043fc5
push edx
push ecx
call fcn.100757e2
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x10043eaa
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10043ea0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043fca
push edx
push ecx
call fcn.100757e2
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
cmp dword [esi - 0xc], 0
jne 0x10043f2a
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x10043fcf
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp - 0x260]
add eax, 0x10
mov dword [edi], eax
push str.unknown
mov ecx, edi
mov byte [ebp - 4], 0xf
call fcn.10004090
test al, al
jne 0x10043f0c
push 7
push str.unknown
mov ecx, edi
call fcn.100044d0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10043f9b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10043f9b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x264]
call fcn.10003c90
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
push eax
call fcn.100041c0
mov edi, dword [ebp - 0x260]
add eax, 0x10
mov edx, dword [ebp - 0x264]
add esp, 4
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov dword [edi], eax
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10043f7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10043f9b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 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.10075b61
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10003f10
call fcn.100a0325
call fcn.100a0325
push 0x80004005
call fcn.10003f10
int3