Function at 0x10048c90
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2c62
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x1010f404]
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.10004450
mov ecx, eax
test ecx, ecx
je 0x1004934b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x254], eax
push 0x100da924
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], 0
call fcn.10004160
test al, al
jne 0x10048d28
push 0
push 0x100da924
lea ecx, [ebp - 0x254]
call fcn.100045a0
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 0x10048f03
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100a3d80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x10048db3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10048d85
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.100045a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10049041
call fcn.1005e780
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10048ef7
push 0x6b
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145_bro_mon_filemonitor.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.100057a0
push 3
push 0x100de1bc
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.100057a0
mov byte [ebp - 4], 3
call fcn.1005e780
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.1005e3a0
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.10008360
mov esi, eax
mov eax, dword [ebp - 0x24c]
mov ecx, 0x100ddfb4
test eax, eax
mov byte [ebp - 4], 5
cmovne ecx, eax
push ecx
push esi
call fcn.10006d80
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x304]
call fcn.10009f30
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 0x10048ed7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x248]
call fcn.10003e30
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.10003e30
mov esi, dword [ebp - 0x250]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10049041
call fcn.1005e780
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10049041
push 0x6b
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145_bro_mon_filemonitor.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.100057a0
push 3
push 0x100de1bc
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.100057a0
mov byte [ebp - 4], 7
call fcn.1005e780
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.1005e3a0
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.10008360
mov esi, eax
mov eax, dword [ebp - 0x24c]
mov ecx, 0x100ddfb4
test eax, eax
mov byte [ebp - 4], 9
cmovne ecx, eax
push ecx
push esi
call fcn.10006d80
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x304]
call fcn.10009f30
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 0x10049027
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x248]
call fcn.10003e30
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.10003e30
call fcn.1005e780
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 0x10049255
push 0x6b
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145_bro_mon_filemonitor.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.100057a0
push 3
push 0x100de1bc
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.100057a0
mov byte [ebp - 4], 0xb
call fcn.1005e780
mov dword [ebp - 0x24c], eax
lea eax, [esi - 0x10]
push eax
call fcn.10004290
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.1005e3a0
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 0x1004912b
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.10008360
mov edi, eax
mov eax, dword [ebp - 0x250]
mov ecx, 0x100ddfb4
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.10006d80
mov ecx, dword [ebp - 0x24c]
add esp, 8
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x304]
call fcn.10009f30
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 0x100491a3
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 0x100491e1
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100491d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10049355
push edx
push ecx
call fcn.1007d115
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 0x1004923a
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10049230
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004935a
push edx
push ecx
call fcn.1007d115
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
cmp dword [esi - 0xc], 0
jne 0x100492ba
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1004935f
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.10004160
test al, al
jne 0x1004929c
push 7
push str.unknown
mov ecx, edi
call fcn.100045a0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1004932b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x1004932b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x264]
call fcn.10003d60
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
push eax
call fcn.10004290
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 0x1004930f
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 0x1004932b
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.1007d494
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10003fe0
call fcn.100a7ba5
call fcn.100a7ba5
push 0x80004005
call fcn.10003fe0
int3