Function at 0x42e7b0
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 0x4a8be1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x884
mov eax, dword [0x4cd00c]
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.00445940
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 0x42ebf1
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 0x42e850
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040afa0
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 0x42e8f0
call fcn.004193f0
push eax
lea ecx, [ebp - 0x848]
call fcn.0040a760
mov edx, dword [ebp - 0x84c]
cmp edx, 8
jb 0x42e925
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e91b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec12
jmp 0x42e91b
cmp eax, 4
jne 0x42e8fc
call fcn.0041a420
jmp 0x42e8ac
cmp eax, 3
jne 0x42e908
call fcn.0041a8f0
jmp 0x42e8ac
cmp eax, 5
jne 0x42e914
call fcn.004199c0
jmp 0x42e8ac
call fcn.00419e50
jmp 0x42e8ac
push edx
push ecx
call fcn.0044434d
add esp, 8
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x42ec17
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42e942
mov eax, dword [esi]
push 1
push 0x4bd6c0
push ecx
push eax
push ecx
push dword [ebp - 0x894]
lea ecx, [ebp - 0x860]
call fcn.0040c340
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.0040b370
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 0x4bd6c0
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 2
call fcn.0040b370
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 0x42ea37
sub ecx, edx
lea eax, [ebp - 0x28]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x878]
call fcn.0040b370
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.0040a760
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x42eabf
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42eab5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec12
push edx
push ecx
call fcn.0044434d
add esp, 8
mov edx, dword [ebp - 0x864]
cmp edx, 8
jb 0x42eaff
mov ecx, dword [ebp - 0x878]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42eaf5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec12
push edx
push ecx
call fcn.0044434d
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 0x42eb5c
mov ecx, dword [ebp - 0x890]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42eb52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec12
push edx
push ecx
call fcn.0044434d
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 0x42ebb5
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ebab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec12
push edx
push ecx
call fcn.0044434d
add esp, 8
mov edx, dword [ebp - 0x834]
cmp edx, 8
jb 0x42ebf1
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42ebe7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ec12
push edx
push ecx
call fcn.0044434d
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.00443db6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00447297
call fcn.004015c0
int3