Function at 0x4b6b40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0e02
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x509018]
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 edi, ecx
xor eax, eax
mov dword [edi + 0x64], 0x1e
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], 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 0x4b6f72
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b6bc0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00403110
lea eax, [edi + 0x34]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402dc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
push 6
xor eax, eax
mov dword [ebp - 0x250], 0
push str..trace
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.00403110
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.004b9360
mov byte [ebp - 4], 1
mov bl, al
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x4b6c7f
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b6c75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6fcc
push edx
push ecx
call fcn.004bda5c
add esp, 8
test bl, bl
je 0x4b6f15
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x230]
call fcn.004b9220
test al, al
je 0x4b6f15
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x4b6e44
push 6
xor eax, eax
mov dword [ebp - 0x250], 0
push str..debug
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.00403110
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.004b9360
mov byte [ebp - 4], 1
mov bl, al
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x4b6d4e
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b6d44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6fd1
push edx
push ecx
call fcn.004bda5c
add esp, 8
test bl, bl
je 0x4b6d7f
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4b6d7f
mov eax, 0x14
mov dword [edi + 0x64], eax
jmp 0x4b6f15
lea ecx, [ebp - 0x230]
call fcn.004b9400
test al, al
je 0x4b6f15
push 9
xor eax, eax
mov dword [ebp - 0x250], 0
push str.asu.trace
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.00403110
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
call fcn.004b9220
mov byte [ebp - 4], 1
mov bl, al
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x4b6e1c
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b6e12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6fd6
push edx
push ecx
call fcn.004bda5c
add esp, 8
test bl, bl
je 0x4b6f15
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4b6e51
mov eax, 0xa
mov dword [edi + 0x64], eax
jmp 0x4b6f15
lea ecx, [ebp - 0x230]
call fcn.004b9400
test al, al
je 0x4b6f15
push 9
xor eax, eax
mov dword [ebp - 0x250], 0
push str.asu.debug
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.00403110
lea edx, [ebp - 0x260]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
call fcn.004b9220
mov edx, dword [ebp - 0x24c]
mov bl, al
cmp edx, 8
jb 0x4b6eea
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b6ee0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6fdb
push edx
push ecx
call fcn.004bda5c
add esp, 8
test bl, bl
je 0x4b6f15
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4b6f15
mov dword [edi + 0x64], 0x14
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x4b6f55
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b6f4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6fe0
push edx
push ecx
call fcn.004bda5c
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4b6fae
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b6fa4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6fe0
push edx
push ecx
call fcn.004bda5c
add esp, 8
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.004bda16
mov esp, ebp
pop ebp
ret 4
call fcn.004c59a2
call fcn.004c59a2
call fcn.004c59a2
call fcn.004c59a2
call fcn.004c59a2
int3