Function at 0x101219b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10195e72
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x10121d55
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10121a30
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.10001e80
lea eax, [esi + 0x34]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10002820
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
push 6
xor eax, eax
mov dword [ebp - 0x254], 0
push str..trace
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
call fcn.10001e80
lea edx, [ebp - 0x264]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.101266f0
mov byte [ebp - 4], 1
mov bl, al
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x10121aef
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10121ae5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10121daf
push edx
push ecx
call fcn.1015cb05
add esp, 8
test bl, bl
je 0x10121cf8
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x234]
call fcn.10126530
test al, al
je 0x10121cf8
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x10121b3c
mov dword [esi + 0x64], 0xa
jmp 0x10121cf8
push str..debug
lea ecx, [ebp - 0x264]
call fcn.10001dd0
lea edx, [ebp - 0x264]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
call fcn.101266f0
mov byte [ebp - 4], 1
mov bl, al
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x10121ba7
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10121b9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10121db4
push edx
push ecx
call fcn.1015cb05
add esp, 8
test bl, bl
je 0x10121bbe
lea ecx, [ebp - 0x234]
call fcn.10126510
test al, al
jne 0x10121cec
lea ecx, [ebp - 0x234]
call fcn.10126790
test al, al
je 0x10121cf8
push str.asu.trace
lea ecx, [ebp - 0x264]
call fcn.10001dd0
lea edx, [ebp - 0x264]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
call fcn.10126530
mov byte [ebp - 4], 1
mov bl, al
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x10121c3c
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10121c32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10121db9
push edx
push ecx
call fcn.1015cb05
add esp, 8
test bl, bl
je 0x10121cf8
lea ecx, [ebp - 0x234]
call fcn.10126510
test al, al
je 0x10121c5f
mov dword [esi + 0x64], 0xa
jmp 0x10121cf8
lea ecx, [ebp - 0x234]
call fcn.10126790
test al, al
je 0x10121cf8
push str.asu.debug
lea ecx, [ebp - 0x264]
call fcn.10001dd0
lea edx, [ebp - 0x264]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x234]
call fcn.10126530
mov edx, dword [ebp - 0x250]
mov bl, al
cmp edx, 8
jb 0x10121cd9
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10121ccf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10121dbe
push edx
push ecx
call fcn.1015cb05
add esp, 8
test bl, bl
je 0x10121cf8
lea ecx, [ebp - 0x234]
call fcn.10126510
test al, al
je 0x10121cf8
cmp edi, 0x14
jle 0x10121cf8
mov dword [esi + 0x64], 0x14
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x10121d38
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10121d2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10121dc3
push edx
push ecx
call fcn.1015cb05
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x10121d91
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10121d87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10121dc3
push edx
push ecx
call fcn.1015cb05
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 - 0x14]
xor ecx, ebp
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret 4
call fcn.10168635
call fcn.10168635
call fcn.10168635
call fcn.10168635
call fcn.10168635
int3