Function at 0x417150
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bdb6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x4c0008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x160], ecx
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x4171c1
mov esi, 1
jmp 0x41785b
mov edi, 1
nop word [eax + eax]
push 0x4e018
push 1
call fcn.00477456
mov esi, eax
add esp, 8
mov dword [ebp - 0x15c], esi
test esi, esi
je 0x41720c
sub esp, 8
mov dword [esi + 0x50], 6
mov ecx, esi
call fcn.00405690
add esp, 8
test eax, eax
jne 0x417214
push esi
call fcn.004793d4
add esp, 4
xor eax, eax
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0
push eax
push edi
lea eax, [ebp - 0x1a8]
push eax
call fcn.00419430
mov esi, eax
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
xorps xmm0, xmm0
push 0xc
movups xmmword [ecx], xmm0
push str.bXNDRCoIAwQ
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040e870
lea eax, [ebp - 0x190]
push eax
call fcn.00417d90
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417291
sub ecx, edx
lea eax, [ebp - 0x138]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e870
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push dword [ebp - 0x158]
lea ecx, [ebp - 0x178]
push eax
push dword [ebp - 0x158]
call fcn.0040ec50
push esi
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x158]
lea ecx, [ebp - 0x150]
call fcn.0040ec50
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x164]
cmp ecx, 0x10
jb 0x417324
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41731a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178ad
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x41735c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417352
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178ad
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0x10
jb 0x41739a
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417390
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178ad
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x194]
cmp ecx, 0x10
jb 0x4173f3
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4173e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178ad
push ecx
push edx
call fcn.0041dd21
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x198], 0
lea eax, [ebp - 0x150]
mov dword [ebp - 0x194], 0xf
mov ecx, esp
mov byte [ebp - 0x1a8], 0
push eax
call fcn.0040e210
call fcn.0040f340
test eax, eax
je 0x417815
mov eax, dword [ebp - 0x154]
test eax, eax
jne 0x41755e
lea esi, [ebp - 0x17]
mov ecx, edi
test edi, edi
jns 0x417486
neg ecx
mov dword [ebp - 0x154], ecx
nop dword [eax + eax]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x154]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x154], eax
test eax, eax
jne 0x417450
dec esi
mov byte [esi], 0x2d
jmp 0x4174c0
mov dword [ebp - 0x154], ecx
nop dword [eax]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x154]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x154], eax
test eax, eax
jne 0x417490
push ecx
lea eax, [ebp - 0x17]
push eax
push esi
lea ecx, [ebp - 0x178]
call fcn.0040ef30
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov esi, esp
mov dword [ebp - 0x158], esp
mov dword [ebp - 0x154], esi
push 2
push 0x4b925c
push ecx
lea ecx, [ebp - 0x178]
call fcn.0040e030
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x150]
mov ecx, esp
push eax
call fcn.0040e210
mov esi, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x160]
push esi
mov byte [ebp - 4], 0xa
call fcn.00415bb0
jmp 0x417789
cmp eax, 1
jne 0x41767c
lea esi, [ebp - 0x17]
mov ecx, edi
test edi, edi
jns 0x4175ae
neg ecx
mov dword [ebp - 0x154], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x154]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x154], eax
test eax, eax
jne 0x417578
dec esi
mov byte [esi], 0x2d
jmp 0x4175e4
mov dword [ebp - 0x154], ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x154]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x154], eax
test eax, eax
jne 0x4175b4
push ecx
lea eax, [ebp - 0x17]
push eax
push esi
lea ecx, [ebp - 0x178]
call fcn.0040ef30
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov esi, esp
mov dword [ebp - 0x158], esp
mov dword [ebp - 0x154], esi
push 2
push 0x4b925c
push ecx
lea ecx, [ebp - 0x178]
call fcn.0040e030
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x150]
mov ecx, esp
push eax
call fcn.0040e210
mov esi, dword [ebp - 0x15c]
push esi
mov byte [ebp - 4], 0xc
call fcn.00415240
jmp 0x417789
cmp eax, 2
jne 0x417815
lea esi, [ebp - 0x17]
mov ecx, edi
test edi, edi
jns 0x4176b9
neg ecx
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov ah, dl
shl al, 2
add ah, al
add ah, ah
sub cl, ah
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
test ecx, ecx
jne 0x417690
dec esi
mov byte [esi], 0x2d
jmp 0x4176f0
mov dword [ebp - 0x154], ecx
nop
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x154]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x154], eax
test eax, eax
jne 0x4176c0
push ecx
lea eax, [ebp - 0x17]
push eax
push esi
lea ecx, [ebp - 0x178]
call fcn.0040ef30
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov esi, esp
mov dword [ebp - 0x158], esp
mov dword [ebp - 0x154], esi
push 2
push 0x4b925c
push ecx
lea ecx, [ebp - 0x178]
call fcn.0040e030
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x150]
mov ecx, esp
push eax
call fcn.0040e210
mov esi, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x160]
push esi
mov byte [ebp - 4], 0xe
call fcn.004155a0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x154], eax
cmp ecx, 0x10
jb 0x4177cd
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4177c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178ad
push ecx
push edx
call fcn.0041dd21
add esp, 8
cmp dword [ebp - 0x154], 0
jle 0x417815
sub esp, 0x18
lea eax, [ebx + 8]
mov ecx, esp
push eax
call fcn.0040e210
push esi
call fcn.00413b50
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 2
movups xmmword [ecx], xmm0
push 0x4b9260
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040e870
push esi
call fcn.00414d60
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x13c]
cmp ecx, 0x10
jb 0x41784f
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417845
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178ad
push ecx
push edx
call fcn.0041dd21
add esp, 8
inc edi
cmp edi, 6
jl 0x4171d0
xor esi, esi
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x41788b
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417881
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178ad
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d890
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.0047a537
int3