Function at 0x416b20
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 0x49bd00
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 0x416b91
mov esi, 1
jmp 0x4170f8
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 0x416bdc
sub esp, 8
mov dword [esi + 0x50], 6
mov ecx, esi
call fcn.00405690
add esp, 8
test eax, eax
jne 0x416be4
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.00419230
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 0x416c61
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 - 0x160]
call fcn.0040ec50
push esi
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x160]
lea ecx, [ebp - 0x150]
call fcn.0040ec50
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x164]
cmp ecx, 0x10
jb 0x416cf4
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416cea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41714a
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x416d2c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416d22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41714a
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x17c]
cmp ecx, 0x10
jb 0x416d6a
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416d60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41714a
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 0x416dc3
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x416db9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41714a
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 0x4170b2
cmp dword [ebp - 0x154], 0
lea esi, [ebp - 0x17]
mov ecx, edi
jne 0x416f2e
test edi, edi
jns 0x416e56
neg ecx
mov dword [ebp - 0x154], ecx
nop word [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 0x416e20
dec esi
mov byte [esi], 0x2d
jmp 0x416e90
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 0x416e60
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 0x4b9254
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 0x417026
test edi, edi
jns 0x416f5d
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 0x416f34
dec esi
mov byte [esi], 0x2d
jmp 0x416f93
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 0x416f63
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 0x4b9254
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
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x154], eax
cmp ecx, 0x10
jb 0x41706a
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417060
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41714a
push ecx
push edx
call fcn.0041dd21
add esp, 8
cmp dword [ebp - 0x154], 0
jle 0x4170b2
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 0x4b9258
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 0x4170ec
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4170e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41714a
push ecx
push edx
call fcn.0041dd21
add esp, 8
inc edi
cmp edi, 7
jl 0x416ba0
xor esi, esi
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x417128
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41711e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41714a
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