Function at 0x417af0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4412a1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x45bb20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
mov dword [ebp - 0x2d0], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x417b84
xor eax, eax
mov dword [esi], 0
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x4478a0
mov word [esi], ax
call fcn.00402190
jmp 0x417f55
xor eax, eax
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
lea edx, [ecx + 2]
mov word [ebp - 0x24c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417bb4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.00402190
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 4], 0
call fcn.00403da0
mov byte [ebp - 0x234], 0x2e
mov byte [ebp - 0x233], 0
mov byte [ebp - 0x232], 0x28
mov byte [ebp - 0x231], 0x43
mov byte [ebp - 0x230], 0x50
mov byte [ebp - 0x22f], 0x5e
mov byte [ebp - 0x22e], 0x2f
mov byte [ebp - 0x22d], 0x64
mov byte [ebp - 0x22c], 0x4a
mov byte [ebp - 0x22b], 0x2e
mov byte [ebp - 0x22a], 0x2f
mov byte [ebp - 0x229], 0x64
mov byte [ebp - 0x228], 0x64
mov byte [ebp - 0x227], 0x28
mov byte [ebp - 0x226], 0x21
mov byte [ebp - 0x225], 0x78
mov byte [ebp - 0x224], 0x2c
mov byte [ebp - 0x223], 0x2e
mov byte [ebp - 0x222], 0x21
mov byte [ebp - 0x221], 0x2f
mov byte [ebp - 0x220], 0x43
mov byte [ebp - 0x21f], 0x64
mov byte [ebp - 0x21e], 0x28
mov byte [ebp - 0x21d], 0x50
mov byte [ebp - 0x21c], 0x5e
mov byte [ebp - 0x21b], 0
mov al, byte [ebp - 0x234]
mov byte [ebp - 0x21a], 0
cmp byte [ebp - 0x21a], 0
mov byte [ebp - 4], 1
jne 0x417cf6
xor ecx, ecx
mov byte [ebp - 0x21a], 1
lea ebx, [ecx + 0x7f]
jmp 0x417cd0
mov al, byte [ebp + ecx - 0x234]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [ebp + ecx - 0x234], dl
inc ecx
cmp ecx, 0x19
jb 0x417cd0
lea ecx, [ebp - 0x234]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417d00
sub ecx, edx
lea eax, [ebp - 0x234]
add eax, ecx
lea ecx, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00417530
cmp dword [ebp - 0x250], 8
lea eax, [ebp - 0x264]
push dword [ebp - 0x254]
cmovae eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 2
call fcn.00410370
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x417d9b
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417d91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417d91
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0043ca8f
add esp, 8
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x417dc3
test al, 0x10
jne 0x417e4f
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push 0
cmovae eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x417e4f
push eax
mov dword [esi], eax
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
push 0x4478a0
mov word [esi], ax
call fcn.00402190
lea ecx, [ebp - 0x2cc]
call fcn.00404d50
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x417f55
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417f4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417f4b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x23c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 1
jb 0x417f73
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
push 1
cmovae eax, dword [ebp - 0x24c]
push 0x447a44
push ecx
push eax
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x27c]
call fcn.00403c40
push edi
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 3
push eax
push esi
call fcn.00402e20
mov edx, dword [ebp - 0x268]
add esp, 0xc
cmp edx, 8
jb 0x417eeb
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417ee1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417f45
push edx
push ecx
call fcn.0043ca8f
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
call fcn.00404d50
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x417f55
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417f4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417f4b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0043ca8f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043ccfc
mov esp, ebp
pop ebp
ret
call fcn.00402040
int3