Function at 0x1008d600
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f31f3
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x1015f6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x264], 1
push 0x1015f3fc
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x274], 0x1015f3fc
call fcn.100bcf42
add esp, 4
test eax, eax
jne 0x1008de45
mov eax, dword [0x1015f428]
cmp eax, 0x7fffffff
je 0x1008de4c
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
movsx eax, byte [edi]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x264], 1
call fcn.100c7300
add esp, 4
test eax, eax
je 0x1008d7b3
cmp byte [edi + 1], 0x3a
jne 0x1008d7b3
mov al, byte [edi + 2]
cmp al, 0x5c
je 0x1008d6dd
cmp al, 0x2f
je 0x1008d6dd
xor eax, eax
jmp 0x1008d6e2
mov eax, 1
test eax, eax
je 0x1008d7b3
mov ecx, edi
mov dword [ebp - 0x238], 0
xorps xmm0, xmm0
mov dword [ebp - 0x234], 0
movups xmmword [ebp - 0x248], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008d710
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x248]
call fcn.10003a00
cmp dword [ebp - 0x234], 0xf
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
lea esi, [ebp - 0x248]
cmova ecx, dword [ebp - 0x248]
cmova esi, dword [ebp - 0x248]
add eax, ecx
lea ecx, [ebp - 0x249]
mov dword [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x24a]
mov byte [ebp - 0x249], 0x5c
push ecx
push eax
push esi
mov byte [ebp - 0x24a], 0x2f
call fcn.1008cd80
cmp dword [ebp - 0x234], 0xf
lea ecx, [ebp - 0x248]
mov esi, dword [ebp - 0x258]
cmova ecx, dword [ebp - 0x248]
push esi
push dword [ebp - 0x254]
push ecx
call fcn.1008cdf0
add esp, 0x1c
lea ecx, [ebp - 0x248]
call fcn.100162b0
jmp 0x1008de1b
cmp byte [edi], 0x5c
jne 0x1008d7e9
cmp byte [edi + 1], 0x5c
jne 0x1008d7e9
cmp byte [edi + 2], 0x3f
jne 0x1008d7e9
cmp byte [edi + 3], 0x5c
jne 0x1008d7e9
push esi
push dword [ebp - 0x254]
push edi
call fcn.1008cdf0
push 0x1015f3fc
call fcn.100bcf53
add esp, 0x10
jmp 0x1008de28
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
lea eax, [ebp - 0x290]
mov dword [ebp - 4], 3
push 0x10107a6c
push eax
call fcn.100811a0
add esp, 8
cmp byte [ebp - 0x290], 0
mov byte [ebp - 4], 4
je 0x1008d93c
cmp dword [ebp - 0x278], 7
lea eax, [ebp - 0x28c]
cmova eax, dword [ebp - 0x28c]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10081350
mov esi, eax
add esp, 8
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x1008d8e7
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0xf
jbe 0x1008d8a4
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d89a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008de59
push ecx
push edx
call fcn.100beee5
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x248]
call fcn.100162b0
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov esi, dword [ebp - 0x230]
cmp edx, 0xf
mov ecx, dword [ebp - 0x220]
cmova eax, esi
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x1008d920
cmp al, 0x2f
jne 0x1008da52
dec ecx
lea eax, [ebp - 0x230]
cmp edx, 0xf
mov dword [ebp - 0x220], ecx
cmova eax, esi
mov byte [eax + ecx], 0
jmp 0x1008da52
push 0
push 0
call fcn.100d2c79
mov edi, eax
add esp, 8
test edi, edi
je 0x1008da42
lea eax, [ebp - 0x248]
push edi
push eax
call fcn.10081350
mov esi, eax
add esp, 8
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x1008d9eb
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0xf
jbe 0x1008d9a8
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d99e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008de5e
push ecx
push edx
call fcn.100beee5
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x248]
call fcn.100162b0
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov esi, dword [ebp - 0x230]
cmp edx, 0xf
mov ecx, dword [ebp - 0x220]
cmova eax, esi
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x1008da20
cmp al, 0x2f
jne 0x1008da37
dec ecx
lea eax, [ebp - 0x230]
cmp edx, 0xf
mov dword [ebp - 0x220], ecx
cmova eax, esi
mov byte [eax + ecx], 0
push edi
call fcn.100c4610
add esp, 4
jmp 0x1008da52
push 0x100f5dac
lea ecx, [ebp - 0x230]
call fcn.10030ec0
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 3
call fcn.10030ca0
mov edx, dword [ebp - 0x21c]
lea ecx, [ebp - 0x230]
mov esi, dword [ebp - 0x230]
lea eax, [ebp - 0x230]
cmp edx, 0xf
cmova ecx, esi
add ecx, dword [ebp - 0x220]
cmp edx, 0xf
cmova eax, esi
cmp eax, ecx
je 0x1008daa9
nop
cmp byte [eax], 0x2f
jne 0x1008da98
mov byte [eax], 0x5c
inc eax
cmp eax, ecx
jne 0x1008da90
mov edx, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x230]
cmp edx, 0xf
lea eax, [ebp - 0x230]
cmova eax, esi
mov esi, dword [ebp - 0x258]
push esi
push dword [ebp - 0x254]
push eax
call fcn.1008cdf0
mov eax, 0x10107a64
add esp, 0xc
mov dword [ebp - 0x260], eax
push 0
push dword [eax]
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1008ddb0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10081350
mov esi, eax
add esp, 8
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x1008db94
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0xf
jbe 0x1008db51
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008db47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008de59
push ecx
push edx
call fcn.100beee5
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x234]
cmp ecx, 0xf
jbe 0x1008dbce
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008dbc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008de59
push ecx
push edx
call fcn.100beee5
add esp, 8
mov edi, dword [ebp - 0x21c]
lea eax, [ebp - 0x230]
mov ecx, dword [ebp - 0x230]
cmp edi, 0xf
mov esi, dword [ebp - 0x220]
cmova eax, ecx
mov dword [ebp - 0x268], edi
mov al, byte [esi + eax - 1]
cmp al, 0x5c
je 0x1008dd26
cmp al, 0x2f
je 0x1008dd26
cmp esi, edi
jae 0x1008dc2a
lea eax, [esi + 1]
cmp edi, 0xf
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x230]
cmova eax, ecx
mov word [eax + esi], 0x5c
jmp 0x1008dd26
mov eax, closesocket
sub eax, esi
cmp eax, 1
jb 0x1008de68
lea ecx, [esi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x1008dc4f
mov ecx, closesocket
jmp 0x1008dc6d
mov edx, edi
mov eax, closesocket
shr edx, 1
sub eax, edx
cmp edi, eax
jbe 0x1008dc65
mov ecx, closesocket
jmp 0x1008dc6d
lea eax, [edi + edx]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], ecx
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10003920
lea ecx, [esi + 1]
mov dword [ebp - 0x25c], eax
add esp, 8
mov dword [ebp - 0x220], ecx
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x21c], ecx
lea ecx, [eax + esi]
mov dword [ebp - 0x250], ecx
push esi
cmp edi, 0xf
jbe 0x1008dcff
mov edi, dword [ebp - 0x230]
push edi
push eax
call fcn.100c0fd0
mov eax, dword [ebp - 0x250]
add esp, 0xc
mov ecx, dword [ebp - 0x268]
inc ecx
mov word [eax], 0x5c
cmp ecx, 0x1000
jb 0x1008dcf3
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1008de59
mov edi, edx
push ecx
push edi
call fcn.100beee5
add esp, 8
jmp 0x1008dd1a
lea ecx, [ebp - 0x230]
push ecx
push eax
call fcn.100c0fd0
mov eax, dword [ebp - 0x250]
add esp, 0xc
mov word [eax], 0x5c
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x230], eax
mov edi, dword [ebp - 0x26c]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008dd31
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x230]
call fcn.10020080
mov edx, dword [ebp - 0x21c]
lea ecx, [ebp - 0x230]
mov esi, dword [ebp - 0x230]
lea eax, [ebp - 0x230]
cmp edx, 0xf
cmova ecx, esi
add ecx, dword [ebp - 0x220]
cmp edx, 0xf
cmova eax, esi
cmp eax, ecx
je 0x1008dd8e
cmp byte [eax], 0x2f
jne 0x1008dd7d
mov byte [eax], 0x5c
inc eax
cmp eax, ecx
jne 0x1008dd75
mov edx, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x230]
cmp edx, 0xf
lea eax, [ebp - 0x230]
cmova eax, esi
mov esi, dword [ebp - 0x258]
push esi
push dword [ebp - 0x254]
push eax
call fcn.1008cdf0
add esp, 0xc
mov eax, dword [ebp - 0x260]
add eax, 4
mov dword [ebp - 0x260], eax
cmp eax, 0x10107a6c
jne 0x1008dad6
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0xf
jbe 0x1008de00
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008ddf6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008de63
push ecx
push edx
call fcn.100beee5
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
push 0x1015f3fc
call fcn.100bcf53
add esp, 4
mov eax, esi
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.100bf2d0
mov esp, ebp
pop ebp
ret
push 5
call fcn.100bd372
dec eax
push 6
mov dword [0x1015f428], eax
call fcn.100bd372
call fcn.100c45bf
call fcn.100c45bf
call fcn.100c45bf
call fcn.1001fa00
int3