Function at 0x468800
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68835b
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x7851cc]
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 0x468af9
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0063d140
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 0x468ae7
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 0x468adb
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 0x468900
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.0045e220
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.00465c20
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x358], ebx
jb 0x468969
mov eax, dword [ebx]
mov dword [ebp - 0x358], eax
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x4689de
push 0x100
lea eax, [ebp - 0x354]
push 0
push eax
call fcn.0063d140
add esp, 0xc
mov ecx, 0x6d4f44
nop dword [eax + eax]
movzx eax, byte [ecx]
inc ecx
mov byte [ebp + eax - 0x354], 1
cmp ecx, 0x6d4f46
jne 0x468990
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 0x4689da
cmp eax, edx
je 0x4689de
movzx ecx, byte [eax - 1]
dec eax
mov cl, byte [ebp + ecx - 0x354]
test cl, cl
je 0x4689c6
sub eax, edx
jmp 0x4689e1
or eax, 0xffffffff
cmp eax, 0xffffffff
je 0x468a7d
inc eax
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x360], 0xf
mov byte [ebp - 0x374], 0
cmp edi, eax
jb 0x468b1c
sub edi, eax
or ecx, 0xffffffff
cmp edi, 0xffffffff
mov edx, ebx
cmovb ecx, edi
cmp dword [ebx + 0x14], 0x10
jb 0x468a23
mov edx, dword [ebx]
push ecx
add eax, edx
lea ecx, [ebp - 0x374]
push eax
call fcn.0045e120
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebx - 0x20]
call fcn.0045f450
mov edx, dword [ebp - 0x360]
cmp edx, 0x10
jb 0x468a98
mov ecx, dword [ebp - 0x374]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x468a71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468b17
push edx
push ecx
call fcn.0062706d
add esp, 8
jmp 0x468a98
lea eax, [ebx - 0x20]
cmp eax, ebx
je 0x468a98
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x468a8e
mov eax, dword [ebx]
push edi
push eax
lea ecx, [ebx - 0x20]
call fcn.0045e120
mov edx, dword [ebp - 0x240]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x468adb
mov ecx, dword [ebp - 0x254]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468ad1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468b17
push edx
push ecx
call fcn.0062706d
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 0x468855
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.0062702c
mov esp, ebp
pop ebp
ret 4
call fcn.00646804
call fcn.00469510
int3