Function at 0x404740
Capabilities:
Create directory
Delete file
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x421008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov dword [ebp - 0xf0], ecx
mov bl, 0x55
mov cl, 0x30
mov byte [ebp - 6], 0
mov byte [ebp - 0xc], cl
mov dh, bl
xor bl, cl
mov byte [ebp - 6], 0
xor dh, cl
mov byte [ebp - 9], bl
mov al, 1
mov byte [ebp - 7], dh
xor al, cl
mov dl, 0x1e
xor dl, cl
mov byte [ebp - 0xb], al
mov ah, 0x48
mov byte [ebp - 0xa], dl
xor ah, cl
mov ecx, 0x4210ac
cmp dword [0x4210c0], 8
mov byte [ebp - 8], ah
cmovae ecx, dword [0x4210ac]
mov eax, dword [0x4210bc]
push esi
push edi
lea eax, [ecx + eax*2]
mov ecx, 0x4210ac
cmovae ecx, dword [0x4210ac]
push ecx
push eax
push ecx
lea ecx, [ebp - 0xe4]
call fcn.0040c480
mov edi, eax
mov byte [ebp - 0xe6], 0
mov al, 0x4b
mov byte [ebp - 0xe6], 0
mov cl, 0x17
mov byte [ebp - 0xe8], al
xor cl, al
cmp dword [0x4210c0], 8
mov eax, dword [0x4210bc]
mov byte [ebp - 0xe7], cl
mov ecx, 0x4210ac
cmovae ecx, dword [0x4210ac]
lea eax, [ecx + eax*2]
mov ecx, 0x4210ac
cmovae ecx, dword [0x4210ac]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.0040c480
movaps xmm0, xmmword [0x41cd10]
mov esi, eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x37282666
xor ecx, ecx
mov word [ebp - 0x10], 0x42
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x14
jb 0x404831
lea eax, [ebp - 0x23]
mov byte [ebp - 0xf], 0
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0xcc]
call fcn.0040c2a0
add esp, 4
lea ecx, [ebp - 0x9c]
push esi
push eax
push dword [ebp - 0xf0]
call fcn.0040d010
lea eax, [ebp - 0xe7]
push eax
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0xb4]
call fcn.0040c3c0
add esp, 4
lea ecx, [ebp - 0x84]
push edi
push eax
push dword [ebp - 0xf0]
call fcn.0040d010
lea eax, [ebp - 0xb]
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x6c]
call fcn.0040c3c0
mov edx, dword [ebp - 0x70]
add esp, 4
cmp edx, 0x10
jb 0x4048e4
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4048da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404a66
push edx
push ecx
call fcn.00418a88
add esp, 8
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp edx, 0x10
jb 0x404933
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404929
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404a66
push edx
push ecx
call fcn.00418a88
add esp, 8
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
cmp edx, 0x10
jb 0x404988
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40497e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404a66
push edx
push ecx
call fcn.00418a88
add esp, 8
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
cmp edx, 0x10
jb 0x4049dd
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4049d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404a66
push edx
push ecx
call fcn.00418a88
add esp, 8
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
cmp edx, 0x10
jb 0x404a28
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404a1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404a66
push edx
push ecx
call fcn.00418a88
add esp, 8
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
cmp edx, 0x10
jb 0x404a76
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404a6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404a6c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00418a88
add esp, 8
cmp dword [0x4210c0], 8
mov ecx, 0x4210ac
mov eax, dword [0x4210bc]
cmovae ecx, dword [0x4210ac]
lea eax, [ecx + eax*2]
mov ecx, 0x4210ac
cmovae ecx, dword [0x4210ac]
push ecx
push eax
push ecx
lea ecx, [ebp - 0xe4]
call fcn.0040c480
movaps xmm0, xmmword [0x41c9e0]
mov esi, eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x28373979
xor ecx, ecx
mov word [ebp - 0x10], 0x5d
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x14
jb 0x404ac7
lea eax, [ebp - 0x23]
mov byte [ebp - 0xf], 0
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x54]
call fcn.0040c2a0
add esp, 4
lea ecx, [ebp - 0x3c]
push esi
push eax
push dword [ebp - 0xf0]
call fcn.0040d010
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x404b2a
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404b20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b68
push edx
push ecx
call fcn.00418a88
add esp, 8
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
cmp edx, 0x10
jb 0x404b78
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404b6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404b6e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00418a88
add esp, 8
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x1a8], 0x41b410
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x1a8]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0x1a8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1ac], eax
lea ecx, [ebp - 0x1a4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0x1a4]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x15c], 0
mov byte [ebp - 0x167], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x4218dc]
cmp dword [ebp - 0x28], 0x10
mov ecx, dword [0x4218e0]
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x16c], 0
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
add esp, 4
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
cmovae eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x158], 0
jne 0x404d85
push 0x40
push 0x22
push eax
call dword [sym.imp.MSVCP140.dll_struct__iobuf____cdecl_std::_Fiopen_char_const___int__int_]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x404d85
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 0x15c], 1
mov byte [ebp - 0x167], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xe8], 0
push eax
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
mov edx, dword [ebp - 0xe8]
add esp, 0x10
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xc]
push edx
push ecx
push eax
push edx
push ecx
push eax
lea ecx, [ebp - 0x1a4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_char____char____int___char____char____int__]
mov eax, dword [0x4218dc]
mov ecx, dword [0x4218e0]
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x160], ecx
lea ecx, [ebp - 0x1a4]
push eax
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x16c], 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::locale___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void_]
mov ecx, eax
call fcn.0040c7c0
mov esi, eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::codecvt_base::always_noconv_void_const]
test al, al
je 0x404d39
mov dword [ebp - 0x16c], 0
jmp 0x404d4b
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x16c], esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov ecx, dword [ebp - 0xf4]
test ecx, ecx
je 0x404d68
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x404d68
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1a8]
push 0
push 0
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x404da0
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1a8]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push pe_nt_image_headers32
call fcn.00418a9b
add esp, 4
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0x158], 0
je 0x404e76
mov edi, dword [0x421814]
xor ebx, ebx
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx + edi + 0x78]
add eax, edi
mov dword [ebp - 0xc], eax
mov esi, dword [eax + 0x20]
add esi, edi
nop dword [eax]
mov eax, dword [esi]
mov edx, 0xc93f650c
add eax, edi
mov cl, byte [eax]
inc eax
test cl, cl
je 0x404e0d
movsx ecx, cl
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [eax - 1]
test cl, cl
jne 0x404df0
cmp edx, 0xfed487f4
je 0x404e13
inc ebx
add esi, 4
jmp 0x404de0
mov edx, dword [ebp - 0xc]
push 8
push 4
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
mov ebx, dword [ebp - 0xec]
movzx ecx, word [eax + edi]
mov eax, dword [edx + 0x1c]
push ebx
push dword [ebp - 0xf0]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edi]
add eax, edi
call eax
cmp eax, 0xffffffff
je 0x404e61
test eax, eax
jle 0x404e76
push 0
push 4
push ebx
lea ecx, [ebp - 0x1a8]
mov byte [ebx + eax], 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
jmp 0x404dc0
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
lea ecx, [ebp - 0x1a4]
call fcn.0040b8c0
test eax, eax
jne 0x404e9f
push eax
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1a8]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x1a8]
call fcn.00404f80
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x404ede
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404ed4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404f58
push edx
push ecx
call fcn.00418a88
add esp, 8
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp edx, 0x10
jb 0x404f20
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404f16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404f58
push edx
push ecx
call fcn.00418a88
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
cmp edx, 0x10
jb 0x404f68
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404f5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404f5e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00418a88
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041882f
mov esp, ebp
pop ebp
ret