Function at 0x1092a7b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x10cd598]
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 0x1092ad4
cmp eax, esi
jb 0x1092af1
call fcn.0108edc3
cmp eax, ebx
je 0x1092ae8
push eax
push 0xcaf01a3
call fcn.010893e6
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.0102e54a
cmp eax, ebx
je 0x1092b1f
push eax
push 0xcb701a3
jmp 0x1092d1d
mov eax, dword [ebp - 0x2b8]
cmp eax, ebx
je 0x1092b36
push 0x5c
pop ecx
cmp cx, word [ebp + eax*2 - 0x2b2]
je 0x1092b57
push 0x1008aa0
push esi
lea eax, [ebp - 0x2b0]
push eax
call fcn.0102d9bc
cmp eax, ebx
je 0x1092b57
push eax
push 0xcbd01a3
jmp 0x1092d1d
push dword [ebp + 0x10]
lea eax, [ebp - 0x54]
push dword [ebp + 0xc]
push str.Chain_d__d.txt
push 0x27
push eax
call fcn.0102dd8f
add esp, 0x14
cmp eax, ebx
je 0x1092b7f
push eax
push 0xcc501a3
jmp 0x1092d1d
lea eax, [ebp - 0x54]
push eax
push esi
lea eax, [ebp - 0x2b0]
push eax
call fcn.0102d9bc
cmp eax, ebx
je 0x1092b9f
push eax
push 0xcc801a3
jmp 0x1092d1d
push 0x101cf38
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 0x1092be0
push eax
push 0xcd001a3
lea eax, [ebp - 0x2b0]
push eax
call fcn.01089421
push 0x80070002
push 0xcd201a3
jmp 0x1092d1d
mov dword [ebp - 0x2b8], ebx
cmp dword [edi + 0xc], ebx
jbe 0x1092d22
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 0x1092c1e
push dword [ebp - 0x2b4]
push 0x1001db0
call dword [sym.imp.msvcrt.dll_fputws]
pop ecx
pop ecx
push dword [ebp - 0x2b8]
push 0x101cf14
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.01090925
cmp eax, ebx
jne 0x1092d07
mov esi, dword [esi + 0x10]
cmp esi, ebx
je 0x1092cea
cmp dword [esi], 0x1c
jb 0x1092cea
mov esi, dword [esi + 0x18]
cmp esi, ebx
je 0x1092cea
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x1092cab
push eax
push ebx
call fcn.010909a6
push eax
push 0x101cf00
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.01090925
cmp eax, ebx
jne 0x1092d0f
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x1092cea
push eax
push ebx
call fcn.010909a6
push eax
push 0x101cee0
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.01090925
cmp eax, ebx
jne 0x1092d17
inc dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0x2b8]
cmp ecx, dword [eax + 0xc]
jb 0x1092bf5
jmp 0x1092d22
push eax
push 0xce501a3
jmp 0x1092d1d
push eax
push 0xcfe01a3
jmp 0x1092d1d
push eax
push 0xd0b01a3
call fcn.010893e6
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 0x1092d50
push dword [ebp - 0x2b4]
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01074bd5
leave
ret 0xc