Function at 0x427480
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 0x4a4062
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x228
mov eax, dword [0x4c4024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
push 0
movups xmmword [eax], xmm0
push 0x4bcbaf
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.0041ecc0
push 0x104
lea eax, [ebp - 0x120]
mov dword [ebp - 0x22c], 1
push 0
push eax
call fcn.0047c720
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 8]
mov edx, dword [ebx + 8]
add esp, 0xc
mov esi, dword [ebx + 0x18]
cmp eax, 0x10
cmovae ecx, edx
cmp esi, 0xe
jne 0x4275af
mov edi, esi
mov edx, str.RoamingAppData
sub edi, 4
jb 0x427561
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x427566
add ecx, 4
add edx, 4
sub edi, 4
jae 0x427550
cmp edi, 0xfffffffc
je 0x42759a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x427593
cmp edi, 0xfffffffd
je 0x42759a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x427593
cmp edi, 0xfffffffe
je 0x42759a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x427593
cmp edi, 0xffffffff
je 0x42759a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42759a
sbb eax, eax
or eax, 1
jmp 0x42759c
xor eax, eax
test eax, eax
jne 0x4275a9
push 1
push 0x1a
jmp 0x427858
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
cmp eax, 0x10
lea ecx, [ebx + 8]
cmovae ecx, edx
cmp esi, 7
jne 0x42762e
mov edi, esi
mov edx, str.Desktop
sub edi, 4
jb 0x4275e1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4275e6
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4275d0
cmp edi, 0xfffffffc
je 0x42761a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x427613
cmp edi, 0xfffffffd
je 0x42761a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x427613
cmp edi, 0xfffffffe
je 0x42761a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x427613
cmp edi, 0xffffffff
je 0x42761a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42761a
sbb eax, eax
or eax, 1
jmp 0x42761c
xor eax, eax
test eax, eax
jne 0x427628
push 1
push eax
jmp 0x427858
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
cmp eax, 0x10
lea ecx, [ebx + 8]
cmovae ecx, edx
cmp esi, 9
jne 0x4276f6
mov edi, esi
mov edx, 0x4b9d80
sub edi, 4
jb 0x427661
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x427666
add ecx, 4
add edx, 4
sub edi, 4
jae 0x427650
cmp edi, 0xfffffffc
je 0x42769a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x427693
cmp edi, 0xfffffffd
je 0x42769a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x427693
cmp edi, 0xfffffffe
je 0x42769a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x427693
cmp edi, 0xffffffff
je 0x42769a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42769a
sbb eax, eax
or eax, 1
jmp 0x42769c
xor eax, eax
test eax, eax
jne 0x4276f0
push 1
push 0x28
lea eax, [ebp - 0x120]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [ebp - 0x120]
dec ecx
nop word [eax + eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4276c0
mov eax, dword [str.Downloads]
mov dword [ecx], eax
mov eax, dword [0x4bd1f4]
mov dword [ecx + 4], eax
mov ax, word [0x4bd1f8]
mov word [ecx + 8], ax
mov al, byte [0x4bd1fa]
mov byte [ecx + 0xa], al
jmp 0x427867
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
cmp eax, 0x10
lea ecx, [ebx + 8]
cmovae ecx, edx
cmp esi, 9
jne 0x42776f
mov edi, esi
mov edx, str.Documents
sub edi, 4
jb 0x427721
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x427726
add ecx, 4
add edx, 4
sub edi, 4
jae 0x427710
cmp edi, 0xfffffffc
je 0x42775a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x427753
cmp edi, 0xfffffffd
je 0x42775a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x427753
cmp edi, 0xfffffffe
je 0x42775a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x427753
cmp edi, 0xffffffff
je 0x42775a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42775a
sbb eax, eax
or eax, 1
jmp 0x42775c
xor eax, eax
test eax, eax
jne 0x427769
push 1
push 5
jmp 0x427858
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
cmp eax, 0x10
lea ecx, [ebx + 8]
cmovae ecx, edx
cmp esi, 9
jne 0x4277ec
mov edi, esi
mov edx, str.Favorites
sub edi, 4
jb 0x4277a1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4277a6
add ecx, 4
add edx, 4
sub edi, 4
jae 0x427790
cmp edi, 0xfffffffc
je 0x4277da
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4277d3
cmp edi, 0xfffffffd
je 0x4277da
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4277d3
cmp edi, 0xfffffffe
je 0x4277da
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4277d3
cmp edi, 0xffffffff
je 0x4277da
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4277da
sbb eax, eax
or eax, 1
jmp 0x4277dc
xor eax, eax
test eax, eax
jne 0x4277e6
push 1
push 6
jmp 0x427858
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 8]
cmp eax, 0x10
lea ecx, [ebx + 8]
cmovae ecx, edx
cmp esi, 0xc
jne 0x427867
mov edx, str.LocalAppData
sub esi, 4
jb 0x427815
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42781a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x427804
cmp esi, 0xfffffffc
je 0x42784e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x427847
cmp esi, 0xfffffffd
je 0x42784e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x427847
cmp esi, 0xfffffffe
je 0x42784e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x427847
cmp esi, 0xffffffff
je 0x42784e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x42784e
sbb eax, eax
or eax, 1
jmp 0x427850
xor eax, eax
test eax, eax
jne 0x427867
push 1
push 0x1c
lea eax, [ebp - 0x120]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427870
mov esi, dword [ebp - 0x230]
lea eax, [ebp - 0x120]
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.004157b0
cmp dword [esi + 0x10], 0
jg 0x4278dd
push 0x104
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.0047c720
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x228]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4278c5
sub ecx, edx
lea eax, [ebp - 0x228]
push ecx
push eax
mov ecx, esi
call fcn.004157b0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x42790d
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x427903
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42792d
push ecx
push edx
call fcn.0042cca6
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.0042ca6a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0047e707
int3