Function at 0x460bd0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673a8b
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x75e7a4]
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 [eax]
cmp esi, dword [eax + 4]
je 0x460ec9
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00628ae0
add esp, 0xc
lea ebx, [esi + 0x24]
push dword [esi]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x35c], eax
test eax, eax
je 0x460eb7
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x23c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov eax, dword [ebp - 0x23c]
lea edi, [ebp - 0x21c]
mov dword [ebx - 8], eax
mov ecx, 0x82
mov eax, dword [ebp - 0x238]
mov dword [ebx - 4], eax
xor eax, eax
rep stosd dword es:[edi], eax
push 0x105
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x35c]
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x460eab
xor eax, eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460cd0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.00455ea0
cmp dword [ebp - 0x240], 8
lea ecx, [ebp - 0x254]
mov eax, dword [ebp - 0x244]
cmovae ecx, dword [ebp - 0x254]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x254]
cmovae ecx, dword [ebp - 0x254]
push eax
push ecx
mov ecx, ebx
call fcn.0045d830
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x358], ebx
jb 0x460d39
mov eax, dword [ebx]
mov dword [ebp - 0x358], eax
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x460dae
push 0x100
lea eax, [ebp - 0x354]
push 0
push eax
call fcn.00628ae0
add esp, 0xc
mov ecx, 0x6b5dd8
nop dword [eax + eax]
movzx eax, byte [ecx]
inc ecx
mov byte [ebp + eax - 0x354], 1
cmp ecx, 0x6b5dda
jne 0x460d60
mov edx, dword [ebp - 0x358]
lea ecx, [edi - 1]
or eax, 0xffffffff
cmp ecx, eax
cmovb eax, ecx
movzx ecx, byte [eax + edx]
add eax, edx
mov cl, byte [ebp + ecx - 0x354]
test cl, cl
jne 0x460daa
cmp eax, edx
je 0x460dae
movzx ecx, byte [eax - 1]
dec eax
mov cl, byte [ebp + ecx - 0x354]
test cl, cl
je 0x460d96
sub eax, edx
jmp 0x460db1
or eax, 0xffffffff
cmp eax, 0xffffffff
je 0x460e4d
inc eax
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x360], 0xf
mov byte [ebp - 0x374], 0
cmp edi, eax
jb 0x460eec
sub edi, eax
or ecx, 0xffffffff
cmp edi, 0xffffffff
mov edx, ebx
cmovb ecx, edi
cmp dword [ebx + 0x14], 0x10
jb 0x460df3
mov edx, dword [ebx]
push ecx
add eax, edx
lea ecx, [ebp - 0x374]
push eax
call fcn.00455da0
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebx - 0x20]
call fcn.00456df0
mov edx, dword [ebp - 0x360]
cmp edx, 0x10
jb 0x460e68
mov ecx, dword [ebp - 0x374]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x460e41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460ee7
push edx
push ecx
call fcn.006129d7
add esp, 8
jmp 0x460e68
lea eax, [ebx - 0x20]
cmp eax, ebx
je 0x460e68
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x460e5e
mov eax, dword [ebx]
push edi
push eax
lea ecx, [ebx - 0x20]
call fcn.00455da0
mov edx, dword [ebp - 0x240]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x460eab
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460ea1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460ee7
push edx
push ecx
call fcn.006129d7
add esp, 8
push dword [ebp - 0x35c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
add esi, 0x3c
add ebx, 0x3c
cmp esi, dword [eax + 4]
jne 0x460c25
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.00612996
mov esp, ebp
pop ebp
ret 4
call fcn.006321a4
call fcn.004615a0
int3