Function at 0x42c590
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 0x4a6931
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x884
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x830]
push 0x800
push 0
push eax
call fcn.00443950
add esp, 0xc
lea eax, [ebp - 0x830]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42c9d1
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x28], 0x6f0042
mov dword [ebp - 0x24], 0x6b006f
lea edx, [ecx + 2]
mov dword [ebp - 0x20], 0x61006d
mov dword [ebp - 0x1c], 0x6b0072
mov dword [ebp - 0x18], 0x73
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c630
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407400
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 - 0x860]
movzx eax, byte [ebx + 0xc]
cmp eax, 1
jne 0x42c6d0
call fcn.0041a440
push eax
lea ecx, [ebp - 0x848]
call fcn.00406f00
mov edx, dword [ebp - 0x84c]
cmp edx, 8
jb 0x42c705
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c6fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c9f2
jmp 0x42c6fb
cmp eax, 4
jne 0x42c6dc
call fcn.0041b470
jmp 0x42c68c
cmp eax, 3
jne 0x42c6e8
call fcn.0041b940
jmp 0x42c68c
cmp eax, 5
jne 0x42c6f4
call fcn.0041aa10
jmp 0x42c68c
call fcn.0041aea0
jmp 0x42c68c
push edx
push ecx
call fcn.0044235d
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x42c9f7
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42c722
mov eax, dword [esi]
push 1
push 0x4bb6b0
push ecx
push eax
push ecx
push dword [ebp - 0x894]
lea ecx, [ebp - 0x860]
call fcn.004085f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
lea ecx, [ebp - 0x860]
push dword [ebp - 0x838]
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.00407910
mov dword [ebp - 0x890], 0
xor ecx, ecx
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x87c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x890], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x880], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x4bb6b0
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 2
call fcn.00407910
mov dword [ebp - 0x878], 0
xor ecx, ecx
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x864], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x878], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x868], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c817
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x878]
call fcn.00407910
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov ecx, esi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x2c]
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.00406f00
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x42c89f
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c895
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c9f2
push edx
push ecx
call fcn.0044235d
add esp, 8
mov edx, dword [ebp - 0x864]
cmp edx, 8
jb 0x42c8df
mov ecx, dword [ebp - 0x878]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c8d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c9f2
push edx
push ecx
call fcn.0044235d
add esp, 8
mov edx, dword [ebp - 0x87c]
xor eax, eax
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x864], 7
mov word [ebp - 0x878], ax
cmp edx, 8
jb 0x42c93c
mov ecx, dword [ebp - 0x890]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c932
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c9f2
push edx
push ecx
call fcn.0044235d
add esp, 8
mov edx, dword [ebp - 0x84c]
xor eax, eax
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x87c], 7
mov word [ebp - 0x890], ax
cmp edx, 8
jb 0x42c995
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c98b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c9f2
push edx
push ecx
call fcn.0044235d
add esp, 8
mov edx, dword [ebp - 0x834]
cmp edx, 8
jb 0x42c9d1
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42c9c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c9f2
push edx
push ecx
call fcn.0044235d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.004452a7
call fcn.00401470
int3