Function at 0x414d80
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 0x490a51
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x4be4bc]
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]
push 0x208
push 0
mov dword [ebp - 0x2e0], esi
push eax
mov dword [ebp - 0x2dc], 0
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 0x414e14
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x49b844
mov byte [esi], 0
call fcn.00402590
jmp 0x4152d3
xor eax, eax
mov dword [ebp - 0x260], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414e40
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x270]
call fcn.00402680
mov dword [ebp - 4], 0
mov dword [ebp - method.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.virtual_0], vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
push 1
mov byte [ebp - 4], 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
xor eax, eax
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
push 0x34
mov byte [ebp - 4], 4
mov word [ebp - 0x290], ax
mov byte [ebp - 0x28e], al
call fcn.0048c917
mov ebx, eax
add esp, 8
mov dword [ebp - 0x2e4], ebx
mov byte [ebp - 4], 5
test ebx, ebx
je 0x414ef9
push 0
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_int_]
mov dword [ebx], vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
jmp 0x414efb
xor ebx, ebx
push dword [ebp - 0x2cc]
mov byte [ebp - 4], 4
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x2d4], ebx
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const__]
add esp, 4
mov edi, eax
test ebx, ebx
je 0x414f5b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
call dword [sym.imp.MSVCP140.dll_public:_unsigned_int___thiscall_std::locale::id::operator_unsigned_int_void_]
push eax
push ebx
push edi
call dword [sym.imp.MSVCP140.dll_private:_static_void___cdecl_std::locale::_Locimp::_Locimp_Addfac_class_std::locale::_Locimp___class_std::locale::facet___unsigned_int_]
add esp, 0xc
mov dword [edi + 0x10], 0
lea ecx, [edi + 0x18]
push 0x49c98c
call dword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____thiscall_std::_Yarn_char_::operator_char_const__]
mov ecx, dword [ebp - 0x2cc]
cmp ecx, edi
je 0x414f83
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x414f76
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x2cc], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
test edi, edi
je 0x414f9a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x414f9a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x28c], 0
cmp dword [ebp - 0x25c], 8
lea ecx, [ebp - 0x270]
mov eax, dword [ebp - 0x260]
cmovae ecx, dword [ebp - 0x270]
mov byte [ebp - 4], 6
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00416400
mov dword [ebp - 0x2dc], 2
mov byte [ebp - 0x240], 0x2e
mov edi, 0x7f
mov byte [ebp - 0x23f], 0
mov byte [ebp - 0x23e], 0x28
mov byte [ebp - 0x23d], 0x43
mov byte [ebp - 0x23c], 0x50
mov byte [ebp - 0x23b], 0x5e
mov byte [ebp - 0x23a], 0x2f
mov byte [ebp - 0x239], 0x64
mov byte [ebp - 0x238], 0x4a
mov byte [ebp - 0x237], 0x2e
mov byte [ebp - 0x236], 0x2f
mov byte [ebp - 0x235], 0x64
mov byte [ebp - 0x234], 0x64
mov byte [ebp - 0x233], 0x28
mov byte [ebp - 0x232], 0x21
mov byte [ebp - 0x231], 0x78
mov byte [ebp - 0x230], 0x2c
mov byte [ebp - 0x22f], 0x2e
mov byte [ebp - 0x22e], 0x21
mov byte [ebp - 0x22d], 0x2f
mov byte [ebp - 0x22c], 0x43
mov byte [ebp - 0x22b], 0x64
mov byte [ebp - 0x22a], 0x28
mov byte [ebp - 0x229], 0x50
mov byte [ebp - 0x228], 0x5e
mov byte [ebp - 0x227], 0
mov al, byte [ebp - 0x240]
mov byte [ebp - 0x226], 0
cmp byte [ebp - 0x226], 0
mov byte [ebp - 4], 7
jne 0x4150e7
mov byte [ebp - 0x226], 1
xor ecx, ecx
mov al, byte [ebp + ecx - 0x240]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + ecx - 0x240], dl
inc ecx
cmp ecx, 0x19
jb 0x4150c1
lea ecx, [ebp - 0x240]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4150f0
sub ecx, edx
lea eax, [ebp - 0x240]
push ecx
push eax
lea ecx, [ebp - 0x288]
call fcn.00413690
mov edx, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x2dc], 6
mov ecx, dword [edx]
mov dword [ebp - 0x258], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x254], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x250], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x24c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x248], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x244], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov edx, dword [ebp - 0x274]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x4151b2
mov ecx, dword [ebp - 0x288]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4151a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4151a8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
mov dword [ebp - 0x278], 0
cmovae eax, dword [ebp - 0x258]
push eax
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4151f5
test al, 0x10
jne 0x4152f1
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
push 0
cmovae eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4152f1
push eax
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x49b844
mov byte [esi], al
call fcn.00402590
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x41526d
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415263
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4154f2
push edx
push ecx
call fcn.0048c947
add esp, 8
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.00411b70
mov edx, dword [ebp - 0x25c]
cmp edx, 8
jb 0x4152d3
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4152c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4154f2
push edx
push ecx
call fcn.0048c947
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.0048cbb4
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0x224], 0x2e
mov byte [ebp - 0x223], 0x21
mov byte [ebp - 0x222], 0x2f
mov byte [ebp - 0x221], 0x43
mov byte [ebp - 0x220], 0x64
mov byte [ebp - 0x21f], 0x28
mov byte [ebp - 0x21e], 0x50
mov byte [ebp - 0x21d], 0x36
mov byte [ebp - 0x21c], 0x72
mov byte [ebp - 0x21b], 0x78
mov byte [ebp - 0x21a], 0
mov al, byte [ebp - 0x224]
mov byte [ebp - 0x219], 0
cmp byte [ebp - 0x219], 0
jne 0x415386
mov byte [ebp - 0x219], 1
xor ecx, ecx
lea ecx, [ecx]
mov al, byte [ebp + ecx - 0x224]
movsx eax, al
sub eax, 0x6c
imul eax, eax, 0x13
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [ebp + ecx - 0x224], dl
inc ecx
cmp ecx, 0xa
jb 0x415360
lea ecx, [ebp - 0x224]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 4], 0xa
mov byte [esi], 0
mov dword [ebp - 0x2dc], 0xe
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4153b0
sub ecx, edx
mov edx, dword [ebp - 0x248]
lea ebx, [edx + ecx]
cmp ebx, 0xf
jbe 0x415415
cmp ebx, 0x7fffffff
ja 0x4154f8
mov edi, ebx
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4153e7
mov edi, 0x7fffffff
jmp 0x4153f1
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
mov ecx, esi
push eax
call fcn.00402350
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
mov cl, byte [esi]
mov byte [eax], cl
mov dword [esi], eax
mov edx, dword [ebp - 0x248]
mov dword [esi + 0x10], 0
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
push edx
cmovae eax, dword [ebp - 0x258]
mov ecx, esi
push eax
call fcn.00413690
lea ecx, [ebp - 0x224]
lea edx, [ecx + 1]
jmp 0x415440
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415440
sub ecx, edx
lea eax, [ebp - 0x224]
push ecx
push eax
mov ecx, esi
call fcn.00413690
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x41548e
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415484
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4154f2
push edx
push ecx
call fcn.0048c947
add esp, 8
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
call fcn.00411b70
mov edx, dword [ebp - 0x25c]
cmp edx, 8
jb 0x4152d3
mov ecx, dword [ebp - 0x270]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4152c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4152c9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00402330
int3