Function at 0x422460
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 0x4aed88
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1070
call fcn.004a63c0
mov eax, dword [0x4d500c]
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 - 0x1068], edx
mov esi, ecx
mov dword [ebp - 0x1034], esi
push 0x1000
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x1034], esi
push 0
push eax
call fcn.00472940
add esp, 0xc
lea eax, [ebp - 0x1018]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x42251e
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422500
sub ecx, edx
sar ecx, 1
push ecx
push 0
mov ecx, esi
call fcn.00404350
jmp 0x422a1c
xor eax, eax
mov dword [ebp - 0x1030], 0
lea ecx, [ebp - 0x1018]
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x1030], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422550
sub ecx, edx
lea eax, [ebp - 0x1018]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1030]
call fcn.00404350
mov eax, dword [ebp - 0x1068]
lea ecx, [ebp - 0x1080]
movzx eax, al
mov dword [ebp - 4], 0
cmp eax, 3
jne 0x4226d3
call fcn.0041f2c0
mov edi, eax
mov byte [ebp - 4], 1
mov ecx, SysReAllocString
mov edx, dword [ebp - 0x1020]
sub ecx, edx
cmp ecx, 1
jb 0x422a3c
cmp dword [ebp - 0x101c], 8
lea eax, [ebp - 0x1030]
push 1
cmovae eax, dword [ebp - 0x1030]
push 0x4c4740
push edx
push eax
push ecx
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x1064]
call fcn.0040ab20
push edi
lea eax, [ebp - 0x1064]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x104c]
call fcn.0042e510
lea eax, [ebp - 0x104c]
push eax
lea ecx, [ebp - 0x1030]
call fcn.00403f10
mov edx, dword [ebp - 0x1038]
cmp edx, 8
jb 0x422650
mov ecx, dword [ebp - 0x104c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422a41
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov edx, dword [ebp - 0x1050]
cmp edx, 8
jb 0x422690
mov ecx, dword [ebp - 0x1064]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422686
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422a41
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov edx, dword [ebp - 0x106c]
cmp edx, 8
jb 0x4229f1
mov ecx, dword [ebp - 0x1080]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4229e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422a41
jmp 0x4229e7
cmp eax, 4
jne 0x4227de
call fcn.0041ef40
mov edi, eax
mov byte [ebp - 4], 3
mov ecx, SysReAllocString
mov edx, dword [ebp - 0x1020]
sub ecx, edx
cmp ecx, 1
jb 0x422a46
cmp dword [ebp - 0x101c], 8
lea eax, [ebp - 0x1030]
push 1
cmovae eax, dword [ebp - 0x1030]
push 0x4c4740
push edx
push eax
push ecx
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x104c]
call fcn.0040ab20
push edi
lea eax, [ebp - 0x104c]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x1064]
call fcn.0042e510
lea eax, [ebp - 0x1064]
push eax
lea ecx, [ebp - 0x1030]
call fcn.00403f10
mov edx, dword [ebp - 0x1050]
cmp edx, 8
jb 0x42279b
mov ecx, dword [ebp - 0x1064]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422791
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422a41
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov edx, dword [ebp - 0x1038]
cmp edx, 8
jb 0x422690
mov ecx, dword [ebp - 0x104c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422686
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422a41
jmp 0x422686
cmp eax, 1
jne 0x4228e9
call fcn.0041e640
mov edi, eax
mov byte [ebp - 4], 5
mov ecx, SysReAllocString
mov edx, dword [ebp - 0x1020]
sub ecx, edx
cmp ecx, 1
jb 0x422a4b
cmp dword [ebp - 0x101c], 8
lea eax, [ebp - 0x1030]
push 1
cmovae eax, dword [ebp - 0x1030]
push 0x4c4740
push edx
push eax
push ecx
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x104c]
call fcn.0040ab20
push edi
lea eax, [ebp - 0x104c]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x1064]
call fcn.0042e510
lea eax, [ebp - 0x1064]
push eax
lea ecx, [ebp - 0x1030]
call fcn.00403f10
mov edx, dword [ebp - 0x1050]
cmp edx, 8
jb 0x4228a6
mov ecx, dword [ebp - 0x1064]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42289c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422a41
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov edx, dword [ebp - 0x1038]
cmp edx, 8
jb 0x422690
mov ecx, dword [ebp - 0x104c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422686
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422a41
jmp 0x422686
call fcn.0041eac0
mov edi, eax
mov byte [ebp - 4], 7
mov ecx, SysReAllocString
mov edx, dword [ebp - 0x1020]
sub ecx, edx
cmp ecx, 1
jb 0x422a50
cmp dword [ebp - 0x101c], 8
lea eax, [ebp - 0x1030]
push 1
cmovae eax, dword [ebp - 0x1030]
push 0x4c4740
push edx
push eax
push ecx
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x104c]
call fcn.0040ab20
push edi
lea eax, [ebp - 0x104c]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x1034]
lea ecx, [ebp - 0x1064]
call fcn.0042e510
lea eax, [ebp - 0x1064]
push eax
lea ecx, [ebp - 0x1030]
call fcn.00403f10
mov edx, dword [ebp - 0x1050]
cmp edx, 8
jb 0x4229a8
mov ecx, dword [ebp - 0x1064]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42299e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422a41
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov edx, dword [ebp - 0x1038]
cmp edx, 8
jb 0x422690
mov ecx, dword [ebp - 0x104c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422686
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422a41
jmp 0x422686
push edx
push ecx
call fcn.0044b3bd
add esp, 8
movups xmm0, xmmword [ebp - 0x1030]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1020]
movq qword [esi + 0x10], xmm0
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.0044ae26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401570
call fcn.0047aa50
call fcn.00401570
call fcn.00401570
call fcn.00401570
int3