Function at 0x453470
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 0x4a2f41
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x4ce4bc]
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x218]
push 0
push eax
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 0x45350a
xor eax, eax
mov dword [edi], 0
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x4a9810
mov word [edi], ax
call fcn.00404580
jmp 0x4539c3
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
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453540
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.00404580
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 4], 0
call fcn.0044cfe0
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 0x453676
xor ecx, ecx
mov byte [ebp - 0x21a], 1
lea esi, [ecx + 0x7f]
mov al, byte [ebp + ecx - 0x234]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [ebp + ecx - 0x234], dl
inc ecx
cmp ecx, 0x19
jb 0x453650
lea ecx, [ebp - 0x234]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453680
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 - 0x27c]
push eax
call fcn.00452eb0
cmp dword [ebp - 0x268], 8
lea eax, [ebp - 0x27c]
push dword [ebp - 0x26c]
cmovae eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x24c]
push eax
mov byte [ebp - 4], 2
call fcn.00401cd0
mov edx, dword [ebp - 0x268]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x45371b
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453711
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x453711
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
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 0x453743
test al, 0x10
jne 0x4537cf
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 0x4537cf
push eax
mov dword [edi], eax
mov ecx, edi
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
push 0x4a9810
mov word [edi], ax
call fcn.00404580
lea ecx, [ebp - 0x2cc]
call fcn.0044d6a0
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x4539c3
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4539b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4539b9
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
mov dword [ebp - 0x2d8], ecx
cmp eax, 1
jb 0x4539e1
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
mov esi, 7
mov dword [ebp - 0x264], 0
cmovae eax, dword [ebp - 0x24c]
lea ebx, [ebp - 0x264]
mov dword [ebp - 0x2dc], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x2d0], eax
cmp eax, esi
jbe 0x45387c
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x45384f
mov esi, 0x7ffffffe
jmp 0x453859
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x264]
call fcn.00401c70
mov ecx, dword [ebp - 0x2d8]
mov ebx, eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x250], esi
lea esi, [ecx + ecx]
push esi
push dword [ebp - 0x2dc]
mov dword [ebp - 0x254], eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x5c
xor ecx, ecx
mov word [esi + ebx], ax
add esp, 0xc
mov eax, dword [ebp - 0x2d0]
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0x2d4]
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4538c5
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.00401cd0
mov edx, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov ecx, dword [edx]
mov dword [edi], ecx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov ecx, dword [edx + 8]
mov dword [edi + 8], ecx
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x453959
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45394f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4539b3
push edx
push ecx
call fcn.00499aee
add esp, 8
xor eax, eax
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
call fcn.0044d6a0
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x4539c3
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4539b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4539b9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
mov eax, edi
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.00499afc
mov esp, ebp
pop ebp
ret
call fcn.00401c50
int3