Function at 0x4387f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf7d7
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4f84d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 4], 2
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0048f1a0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x264]
add esp, 0xc
push eax
push 0x10
push 0
call edi
mov esi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
js 0x4389bf
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x264]
call esi
test eax, eax
je 0x4389bf
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x4388b9
jmp 0x4388b0
add eax, 2
cmp word [eax], 0
jne 0x4388b0
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041d660
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.00433170
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4388f4
mov eax, dword [eax]
push eax
call fcn.0043af4a
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x234], 8
jb 0x438918
push dword [ebp - 0x248]
call fcn.00486360
add esp, 4
lea eax, [ebp + 0x20]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.00433170
add esp, 4
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x43893c
mov eax, dword [eax]
push eax
call fcn.0043af4a
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x234], 8
jb 0x438960
push dword [ebp - 0x248]
call fcn.00486360
add esp, 4
lea eax, [ebp + 0x38]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.00433170
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x438984
mov eax, dword [eax]
push eax
call fcn.0043af4a
add esp, 4
cmp dword [ebp - 0x234], 8
jb 0x4389a4
push dword [ebp - 0x248]
call fcn.00486360
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x21c], 8
jb 0x4389bf
push dword [ebp - 0x230]
call fcn.00486360
add esp, 4
sub esp, 8
mov dword [ebp - 0x264], 0x2e
lea eax, [ebp - 0x264]
lea ecx, [ebp + 8]
push eax
call fcn.00410910
push eax
push 0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp + 8]
call fcn.00410b60
xor eax, eax
mov byte [ebp - 4], 8
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0048f1a0
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 2
push 0
call edi
test eax, eax
js 0x438b15
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x264]
call esi
test eax, eax
je 0x438b15
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x438a79
lea esp, [esp]
add eax, 2
cmp word [eax], 0
jne 0x438a70
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041d660
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xa
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.00433170
add esp, 4
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x268]
mov ecx, eax
mov dword [ebp - 0x268], 0
call fcn.00438d00
cmp dword [ebp - 0x234], 8
jb 0x438add
push dword [ebp - 0x248]
call fcn.00486360
add esp, 4
xor eax, eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x438b15
push dword [ebp - 0x230]
call fcn.00486360
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0048f1a0
add esp, 0xc
lea eax, [ebp - 0x268]
push eax
push 0xb
push 0
call edi
test eax, eax
js 0x438c53
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x268]
call esi
test eax, eax
je 0x438c53
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x438b99
add eax, 2
cmp word [eax], 0
jne 0x438b90
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041d660
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.00433170
add esp, 4
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
jb 0x438bd4
mov eax, dword [eax]
push eax
call fcn.0043af4a
add esp, 4
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x234], 8
jb 0x438bf8
push dword [ebp - 0x248]
call fcn.00486360
add esp, 4
lea eax, [ebp + 0x20]
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.00433170
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
jb 0x438c1c
mov eax, dword [eax]
push eax
call fcn.0043af4a
add esp, 4
cmp dword [ebp - 0x234], 8
jb 0x438c3c
push dword [ebp - 0x248]
call fcn.00486360
add esp, 4
cmp dword [ebp - 0x21c], 8
jb 0x438c53
push dword [ebp - 0x230]
call fcn.00486360
add esp, 4
cmp dword [ebp - 0x24c], 8
jb 0x438c6a
push dword [ebp - 0x260]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
jb 0x438c98
push dword [ebp + 8]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x438cbd
push dword [ebp + 0x20]
call fcn.00486360
add esp, 4
xor eax, eax
mov dword [ebp + 0x34], 7
cmp dword [ebp + 0x4c], 8
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
jb 0x438ce2
push dword [ebp + 0x38]
call fcn.00486360
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret