Function at 0x422a60
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 0x4aee6a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x8d8
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 - 0x84c], edx
mov dword [ebp - 0x89c], ecx
push 0x800
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.00472940
add esp, 0xc
lea eax, [ebp - 0x818]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42343f
xor eax, eax
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x818]
mov dword [ebp - 0x830], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x81c], 7
mov word [ebp - 0x830], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422b30
sub ecx, edx
lea eax, [ebp - 0x818]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x830]
call fcn.00404350
movzx eax, byte [ebx + 8]
lea ecx, [ebp - 0x894]
mov byte [ebp - 4], 1
cmp eax, 3
jne 0x422cb5
call fcn.0041e170
mov edi, eax
mov esi, SysReAllocString
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x820]
mov ecx, esi
sub ecx, edx
cmp ecx, 1
jb 0x42345d
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
push 1
cmovae eax, dword [ebp - 0x830]
push 0x4c4740
push edx
push eax
push ecx
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x864]
call fcn.0040ab20
push edi
lea eax, [ebp - 0x864]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x87c]
call fcn.0042e510
lea eax, [ebp - 0x87c]
push eax
lea ecx, [ebp - 0x830]
call fcn.00403f10
mov edx, dword [ebp - 0x868]
cmp edx, 8
jb 0x422c2a
mov ecx, dword [ebp - 0x87c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422c20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423462
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x850]
cmp edx, 8
jb 0x422c6e
mov ecx, dword [ebp - 0x864]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422c64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423462
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x880]
cmp edx, 8
jb 0x422f53
mov ecx, dword [ebp - 0x894]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422f49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423462
jmp 0x422f49
cmp eax, 4
jne 0x422e0a
call fcn.0041dca0
mov edi, eax
mov esi, SysReAllocString
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x820]
mov ecx, esi
sub ecx, edx
cmp ecx, 1
jb 0x423467
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
push 1
cmovae eax, dword [ebp - 0x830]
push 0x4c4740
push edx
push eax
push ecx
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x864]
call fcn.0040ab20
push edi
lea eax, [ebp - 0x864]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x87c]
call fcn.0042e510
lea eax, [ebp - 0x87c]
push eax
lea ecx, [ebp - 0x830]
call fcn.00403f10
mov edx, dword [ebp - 0x868]
cmp edx, 8
jb 0x422d7f
mov ecx, dword [ebp - 0x87c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422d75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42346c
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x850]
cmp edx, 8
jb 0x422dc3
mov ecx, dword [ebp - 0x864]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422db9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42346c
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x880]
cmp edx, 8
jb 0x422f53
mov ecx, dword [ebp - 0x894]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422f49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42346c
jmp 0x422f49
call fcn.0041d6d0
mov edi, eax
mov esi, SysReAllocString
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x820]
mov ecx, esi
sub ecx, edx
cmp ecx, 1
jb 0x423471
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
push 1
cmovae eax, dword [ebp - 0x830]
push 0x4c4740
push edx
push eax
push ecx
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x864]
call fcn.0040ab20
push edi
lea eax, [ebp - 0x864]
mov byte [ebp - 4], 7
push eax
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x87c]
call fcn.0042e510
lea eax, [ebp - 0x87c]
push eax
lea ecx, [ebp - 0x830]
call fcn.00403f10
mov edx, dword [ebp - 0x868]
cmp edx, 8
jb 0x422ecb
mov ecx, dword [ebp - 0x87c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422ec1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423476
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x850]
cmp edx, 8
jb 0x422f0f
mov ecx, dword [ebp - 0x864]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422f05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423476
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x880]
cmp edx, 8
jb 0x422f53
mov ecx, dword [ebp - 0x894]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422f49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423476
push edx
push ecx
call fcn.0044b3bd
add esp, 8
lea ecx, [ebp - 0x8e4]
call fcn.0041ca20
mov edi, eax
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 8
call fcn.0041c960
mov dword [ebp - 0x898], eax
mov byte [ebp - 4], 9
mov ecx, esi
mov edx, dword [ebp - 0x820]
sub ecx, edx
cmp ecx, 1
jb 0x42347b
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
push 1
cmovae eax, dword [ebp - 0x830]
push 0x4c4740
push edx
push eax
push ecx
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x894]
call fcn.0040ab20
push dword [ebp - 0x898]
lea eax, [ebp - 0x894]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x8cc]
call fcn.0042e510
push 1
push 0x4c6b08
lea ecx, [ebp - 0x8cc]
mov byte [ebp - 4], 0xb
call fcn.004047e0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x87c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x86c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push edi
lea eax, [ebp - 0x87c]
mov byte [ebp - 4], 0xc
push eax
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x8b4]
call fcn.0042e510
lea eax, [ebp - 0x8b4]
push eax
lea ecx, [ebp - 0x848]
call fcn.00403f10
mov edx, dword [ebp - 0x8a0]
cmp edx, 8
jb 0x42308c
mov ecx, dword [ebp - 0x8b4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423082
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423480
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x868]
cmp edx, 8
jb 0x4230d0
mov ecx, dword [ebp - 0x87c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4230c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423480
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x8b8]
cmp edx, 8
jb 0x423114
mov ecx, dword [ebp - 0x8cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42310a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423480
push edx
push ecx
call fcn.0044b3bd
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x880]
mov dword [ebp - 0x8bc], 0
mov dword [ebp - 0x8b8], 7
mov word [ebp - 0x8cc], ax
cmp edx, 8
jb 0x423175
mov ecx, dword [ebp - 0x894]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42316b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423480
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x850]
cmp edx, 8
jb 0x4231b9
mov ecx, dword [ebp - 0x864]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4231af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423480
push edx
push ecx
call fcn.0044b3bd
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x8d0]
mov dword [ebp - 0x854], 0
mov dword [ebp - 0x850], 7
mov word [ebp - 0x864], ax
cmp edx, 8
jb 0x42321a
mov ecx, dword [ebp - 0x8e4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423210
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423480
push edx
push ecx
call fcn.0044b3bd
add esp, 8
lea ecx, [ebp - 0x8e4]
call fcn.0041ca20
mov edi, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x820]
sub esi, ecx
cmp esi, 1
jb 0x423485
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
push 1
cmovae eax, dword [ebp - 0x830]
push 0x4c4740
push ecx
push eax
push ecx
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x8b4]
call fcn.0040ab20
push edi
lea eax, [ebp - 0x8b4]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x894]
call fcn.0042e510
lea eax, [ebp - 0x894]
push eax
lea ecx, [ebp - 0x830]
call fcn.00403f10
mov edx, dword [ebp - 0x880]
cmp edx, 8
jb 0x4232da
mov ecx, dword [ebp - 0x894]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4232d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42348a
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x8a0]
cmp edx, 8
jb 0x42331e
mov ecx, dword [ebp - 0x8b4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423314
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42348a
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x8d0]
cmp edx, 8
jb 0x423362
mov ecx, dword [ebp - 0x8e4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423358
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42348a
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov ecx, dword [ebp - 0x89c]
test ecx, ecx
je 0x423390
lea eax, [ebp - 0x830]
cmp ecx, eax
je 0x423390
cmp dword [ebp - 0x81c], 8
push dword [ebp - 0x820]
cmovae eax, dword [ebp - 0x830]
push eax
call fcn.00404350
mov ecx, dword [ebp - 0x84c]
test ecx, ecx
je 0x4233be
lea eax, [ebp - 0x848]
cmp ecx, eax
je 0x4233be
cmp dword [ebp - 0x834], 8
push dword [ebp - 0x838]
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.00404350
mov edx, dword [ebp - 0x81c]
cmp edx, 8
jb 0x4233fe
mov ecx, dword [ebp - 0x830]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4233f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42348f
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov edx, dword [ebp - 0x834]
cmp edx, 8
jb 0x42343a
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423430
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42348f
push edx
push ecx
call fcn.0044b3bd
add esp, 8
mov eax, 1
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.0047aa50
call fcn.00401570
call fcn.0047aa50
call fcn.00401570
call fcn.0047aa50
call fcn.00401570
call fcn.0047aa50
call fcn.0047aa50
int3