Function at 0x1003e0b0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008359b
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x100a6250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1003e109
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1003e0f7
mov eax, dword [esi]
push 0
push eax
push 0
call edi
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x1003e2d7
push 0x208
lea eax, [ebp - 0x264]
mov dword [ebp - 0x280], 1
push 0
push eax
mov dword [ebp - 0x284], 0x104
call fcn.100456c0
add esp, 0xc
mov dword [ebp - 0x5c], 0x6f0053
xor eax, eax
mov dword [ebp - 0x58], 0x740066
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x284]
mov dword [ebp - 0x54], 0x610077
push eax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x50], 0x650072
push eax
lea eax, [ebp - 0x280]
mov dword [ebp - 0x4c], 0x48005c
push eax
push str.downloadpath
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x48], 0x6c0061
push eax
push SysReAllocString
mov dword [ebp - 0x44], 0x57006f
mov dword [ebp - 0x40], 0x6c0061
mov dword [ebp - 0x3c], 0x50006c
mov dword [ebp - 0x38], 0x700061
mov dword [ebp - 0x34], 0x720065
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x264]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003e1c0
sub ecx, edx
sar ecx, 1
je 0x1003e218
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003e218
cmp word [ebp - 0x262], 0x3a
jne 0x1003e218
lea ecx, [ebp - 0x264]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003e1f5
sub ecx, edx
lea eax, [ebp - 0x264]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10006920
jmp 0x1003e2d7
lea eax, [ebp - 0x27c]
push eax
call fcn.1003e3b0
add esp, 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0x610048
lea edx, [ecx + 2]
mov dword [ebp - 0x28], 0x6f006c
mov dword [ebp - 0x24], 0x6f0044
mov dword [ebp - 0x20], 0x6e0077
mov dword [ebp - 0x1c], 0x6f006c
mov dword [ebp - 0x18], 0x640061
mov dword [ebp - 0x14], 0x73
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003e265
sub ecx, edx
lea eax, [ebp - 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x27c]
call fcn.100170b0
cmp dword [ebp - 0x268], 8
lea eax, [ebp - 0x27c]
push 0
cmovae eax, dword [ebp - 0x27c]
push eax
push 0
call edi
lea eax, [ebp - 0x27c]
cmp esi, eax
je 0x1003e2c5
cmp dword [ebp - 0x268], 8
mov ecx, esi
push dword [ebp - 0x26c]
cmovae eax, dword [ebp - 0x27c]
push eax
call fcn.10006920
lea ecx, [ebp - 0x27c]
mov dword [ebp - 4], 0xffffffff
call fcn.100066d0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1003e2fe
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x1003e2e8
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x1003e2fe
push 1
push 0x10087e6c
mov ecx, esi
call fcn.100170b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x280], ecx
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x284], eax
jb 0x1003e328
mov esi, dword [esi]
cmp eax, 8
jae 0x1003e33f
movups xmm0, xmmword [esi]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
jmp 0x1003e389
mov edi, eax
mov eax, SysReAllocString
or edi, 7
cmp edi, eax
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.100067b0
mov ecx, dword [ebp - 0x280]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x284]
lea ecx, [ecx*2 + 2]
push ecx
push esi
push eax
call fcn.10045140
mov eax, dword [ebp - 0x280]
add esp, 0xc
mov ecx, dword [ebp - 0x284]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edi
call fcn.1003ec00
add esp, 0x18
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a767
mov esp, ebp
pop ebp
ret