Function at 0x1095bde
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x10d0640]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov word [ebp - 0x2b0], ax
lea eax, [ebp - 0x2b0]
xor ebx, ebx
push eax
mov esi, 0x104
push esi
mov dword [ebp - 0x2c0], edi
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2c4], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
je 0x1095c37
cmp eax, esi
jb 0x1095c54
call fcn.01091f1e
cmp eax, ebx
je 0x1095c4b
push eax
push 0xcaf01a3
call fcn.0108c503
xor eax, eax
mov word [ebp - 0x2b0], ax
lea eax, [ebp - 0x2b8]
push eax
mov esi, 0x12d
push esi
lea eax, [ebp - 0x2b0]
push eax
mov dword [ebp - 0x2b8], ebx
call fcn.0102ebba
cmp eax, ebx
je 0x1095c82
push eax
push 0xcb701a3
jmp 0x1095e80
mov eax, dword [ebp - 0x2b8]
cmp eax, ebx
je 0x1095c99
push 0x5c
pop ecx
cmp cx, word [ebp + eax*2 - 0x2b2]
je 0x1095cba
push 0x1008b90
push esi
lea eax, [ebp - 0x2b0]
push eax
call fcn.0102e02c
cmp eax, ebx
je 0x1095cba
push eax
push 0xcbd01a3
jmp 0x1095e80
push dword [ebp + 0x10]
lea eax, [ebp - 0x54]
push dword [ebp + 0xc]
push str.Chain_d__d.txt
push 0x27
push eax
call fcn.0102e3ff
add esp, 0x14
cmp eax, ebx
je 0x1095ce2
push eax
push 0xcc501a3
jmp 0x1095e80
lea eax, [ebp - 0x54]
push eax
push esi
lea eax, [ebp - 0x2b0]
push eax
call fcn.0102e02c
cmp eax, ebx
je 0x1095d02
push eax
push 0xcc801a3
jmp 0x1095e80
push 0x101d5a8
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.msvcrt.dll__wfopen_s]
add esp, 0xc
cmp eax, ebx
je 0x1095d43
push eax
push 0xcd001a3
lea eax, [ebp - 0x2b0]
push eax
call fcn.0108c53e
push 0x80070002
push 0xcd201a3
jmp 0x1095e80
mov dword [ebp - 0x2b8], ebx
cmp dword [edi + 0xc], ebx
jbe 0x1095e85
mov edi, dword [sym.imp.msvcrt.dll_fwprintf]
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x2b8]
mov esi, dword [ecx + eax*4]
cmp eax, ebx
jbe 0x1095d81
push dword [ebp - 0x2b4]
push 0x1001de0
call dword [sym.imp.msvcrt.dll_fputws]
pop ecx
pop ecx
push dword [ebp - 0x2b8]
push 0x101d584
push dword [ebp - 0x2b4]
call edi
mov eax, dword [esi + 4]
add esp, 0xc
push ebx
push dword [eax + 8]
push dword [eax + 4]
push dword [ebp - 0x2b4]
call fcn.01093a80
cmp eax, ebx
jne 0x1095e6a
mov esi, dword [esi + 0x10]
cmp esi, ebx
je 0x1095e4d
cmp dword [esi], 0x1c
jb 0x1095e4d
mov esi, dword [esi + 0x18]
cmp esi, ebx
je 0x1095e4d
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1095e0e
push eax
push ebx
call fcn.01093b01
push eax
push 0x101d570
push dword [ebp - 0x2b4]
mov dword [ebp - 0x2bc], eax
call edi
mov eax, dword [esi + 4]
add esp, 0xc
push 9
push dword [eax + 8]
push dword [eax + 4]
push dword [ebp - 0x2b4]
call fcn.01093a80
cmp eax, ebx
jne 0x1095e72
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x1095e4d
push eax
push ebx
call fcn.01093b01
push eax
push 0x101d550
push dword [ebp - 0x2b4]
mov dword [ebp - 0x2c4], eax
call edi
mov esi, dword [esi + 8]
add esp, 0xc
push 9
push dword [esi + 8]
push dword [esi + 4]
push dword [ebp - 0x2b4]
call fcn.01093a80
cmp eax, ebx
jne 0x1095e7a
inc dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0x2b8]
cmp ecx, dword [eax + 0xc]
jb 0x1095d58
jmp 0x1095e85
push eax
push 0xce501a3
jmp 0x1095e80
push eax
push 0xcfe01a3
jmp 0x1095e80
push eax
push 0xd0b01a3
call fcn.0108c503
push dword [ebp - 0x2bc]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x2c4]
call esi
cmp dword [ebp - 0x2b4], ebx
pop edi
pop esi
pop ebx
je 0x1095eb3
push dword [ebp - 0x2b4]
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01077d0b
leave
ret 0xc