Function at 0x467c20
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x679ab2
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x780784]
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 esi, ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x64], edi
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4680fd
cmp word [ebp - 0x218], 0
jne 0x467c9e
xor ecx, ecx
jmp 0x467cb6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467ca7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00468970
xor eax, eax
mov dword [ebp - 0x24c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x260], ax
lea ecx, [ebp - 0x260]
lea eax, [esi + 0x34]
mov dword [ebp - 0x250], 0
push eax
call fcn.00468a70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
push 6
xor eax, eax
mov dword [ebp - 0x21c], 7
push str..trace
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00468970
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.00473940
mov bl, al
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x467d9f
mov edx, dword [ebp - 0x230]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x468160
add eax, eax
cmp eax, 0x1000
jb 0x467d96
test cl, 0x1f
jne 0x468160
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x468160
sub ecx, edx
cmp ecx, 4
jb 0x468160
cmp ecx, 0x23
ja 0x468160
push edx
call fcn.004d1ee0
add esp, 4
test bl, bl
je 0x468087
lea edx, [ebp - 0x260]
lea ecx, [ebp - 0x248]
call fcn.00473890
test al, al
je 0x468087
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x467dec
mov dword [esi + 0x64], 0xa
jmp 0x468087
push 6
xor eax, eax
mov dword [ebp - 0x21c], 7
push str..debug
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00468970
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
call fcn.00473940
mov byte [ebp - 4], 1
mov bl, al
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x467e91
mov edx, dword [ebp - 0x230]
lea eax, [ecx + 1]
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x468160
add eax, eax
cmp eax, 0x1000
jb 0x467e88
test cl, 0x1f
jne 0x468160
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x468160
sub ecx, edx
cmp ecx, 4
jb 0x468160
cmp ecx, 0x23
ja 0x468160
push edx
call fcn.004d1ee0
add esp, 4
test bl, bl
je 0x467eb9
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x46807b
lea ecx, [ebp - 0x248]
call fcn.004739f0
test al, al
je 0x468087
push 9
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.asu.trace
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00468970
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.00473890
mov byte [ebp - 4], 1
mov bl, al
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x467f71
mov edx, dword [ebp - 0x230]
lea eax, [ecx + 1]
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x468160
add eax, eax
cmp eax, 0x1000
jb 0x467f68
test cl, 0x1f
jne 0x468160
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x468160
sub ecx, edx
cmp ecx, 4
jb 0x468160
cmp ecx, 0x23
ja 0x468160
push edx
call fcn.004d1ee0
add esp, 4
test bl, bl
je 0x468087
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x467fa5
mov dword [esi + 0x64], 0xa
jmp 0x468087
lea ecx, [ebp - 0x248]
call fcn.004739f0
test al, al
je 0x468087
push 9
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.asu.debug
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00468970
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
call fcn.00473890
mov bl, al
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x468057
mov edx, dword [ebp - 0x230]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x468160
add eax, eax
cmp eax, 0x1000
jb 0x46804e
test cl, 0x1f
jne 0x468160
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x468160
sub ecx, edx
cmp ecx, 4
jb 0x468160
cmp ecx, 0x23
ja 0x468160
push edx
call fcn.004d1ee0
add esp, 4
test bl, bl
je 0x468087
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x468087
cmp edi, 0x14
jle 0x468087
mov dword [esi + 0x64], 0x14
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x4680e0
mov edx, dword [ebp - 0x260]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x468160
add eax, eax
cmp eax, 0x1000
jb 0x4680d7
test cl, 0x1f
jne 0x468160
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x468160
sub ecx, edx
cmp ecx, 4
jb 0x468160
cmp ecx, 0x23
ja 0x468160
push edx
call fcn.004d1ee0
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x468142
mov edx, dword [ebp - 0x248]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x468160
add eax, eax
cmp eax, 0x1000
jb 0x468139
test cl, 0x1f
jne 0x468160
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x468160
sub ecx, edx
cmp ecx, 4
jb 0x468160
cmp ecx, 0x23
ja 0x468160
push edx
call fcn.004d1ee0
add esp, 4
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.0060cdfa
mov esp, ebp
pop ebp
ret 4
call fcn.0061883f
int3