Function at 0x10023aa2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push 8
call fcn.1008b0e0
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
add ebx, 4
push ebx
push 0x107
call fcn.1008b0e0
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100da60e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0xff
rep stosb byte es:[edi], al
cmp dword [ebp + 8], 0x63
jne 0x10023b03
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.1008c440
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10023b38
push ebx
call fcn.1008b0e6
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 1
jne 0x10023b72
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10023b6d
push 6
call fcn.1008b0ec
add esp, 4
jmp 0x10023c67
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 8]
push eax
push 0x103
call fcn.1008b0e0
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xff
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10023bd4
push 6
call fcn.1008b0ec
add esp, 4
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.1008b370
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x10023c15
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10023c13
imul eax, dword [edi]
jmp 0x10023c08
mov ecx, eax
cmp ecx, 0xff
jle 0x10023c22
mov ecx, 0xff
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0xff
call fcn.1008b0e6
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10023c67
push 6
call fcn.1008b0ec
add esp, 4
push 0x100d4294
push dword [ebp - 4]
call fcn.10013f8c
add esp, 8
cmp eax, 0
jne 0x10023c8a
mov eax, 0x100d4294
jmp 0x10023d48
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10023ca9
mov eax, 0x100d4294
push eax
push 2
mov ebx, 0x138
call fcn.1008bbc0
add esp, 0x1c
mov dword [ebp - 0xc], eax
push 0x100da60c
push dword [ebp - 0xc]
call fcn.10013f8c
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10023ced
push ebx
call fcn.1008b0e6
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x10023d27
push 0x100da60c
push dword [ebp - 4]
mov ecx, 2
call fcn.10001134
add esp, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10023d23
push ebx
call fcn.1008b0e6
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x10023d43
push eax
mov ebx, eax
call fcn.100010c9
inc eax
push eax
call fcn.1008b0e0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10023d48
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10023d59
push ebx
call fcn.1008b0e6
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1008b0e6
add esp, 4
pop ebx
call fcn.1008b0e6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8