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

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x4db00c]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
mov byte [esp + 4], 0x4c
mov al, 0x3b
xor al, byte [esp + 4]
mov dl, 2
mov dword [esp + 0x18], ecx
mov dh, 0x3d
mov byte [esp + 5], al
mov cl, 0x26
mov al, byte [esp + 4]
mov ch, 0xa
xor cl, al
mov byte [esp + 0x13], 0x29
xor dl, al
mov byte [esp + 6], cl
xor ch, al
mov byte [esp + 0xe], 0
xor dh, al
mov byte [esp + 0xa], ch
mov bl, 0x1d
mov byte [esp + 7], dl
mov ah, 1
mov byte [esp + 0xb], dh
mov bh, 6
mov byte [esp + 0xe], 0
xor bl, al
mov dword [esp + 0xbc], 0
xor ah, al
mov byte [esp + 8], bl
xor bh, al
mov byte [esp + 9], ah
mov al, byte [esp + 0x13]
lea ecx, [esp + 5]
xor al, byte [esp + 4]
lea edx, [ecx + 1]
push ebp
push esi
xorps xmm0, xmm0
mov byte [esp + 0x14], bh
push edi
mov byte [esp + 0x19], al
movups xmmword [esp + 0xb8], xmm0
mov dword [esp + 0xcc], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a8840
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0xc0]
call fcn.004b8710
mov byte [esp + 0x10], 0x7c
mov al, 0x4a
xor al, byte [esp + 0x10]
mov ah, 0x48
mov byte [esp + 0x11], al
mov cl, 0x39
mov al, byte [esp + 0x10]
mov dl, 0x1e
xor ah, al
mov byte [esp + 0x19], 0
mov ch, 0x26
mov byte [esp + 0x15], ah
mov dh, 0x29
mov byte [esp + 0x19], 0
xor cl, al
xor ch, al
mov bl, 0x18
mov byte [esp + 0x12], cl
mov bh, 0x1b
mov byte [esp + 0x16], ch
xor dl, al
lea ecx, [esp + 0xb8]
xor bl, al
mov byte [esp + 0x13], dl
xor dh, al
mov byte [esp + 0x14], bl
xor bh, al
mov byte [esp + 0x17], dh
lea eax, [esp + 0x11]
mov byte [esp + 0x18], bh
push eax
call fcn.004b74c0
mov byte [esp + 0x10], 0x2a
mov al, 0x70
xor al, byte [esp + 0x10]
mov ah, 0x79
mov byte [esp + 0x11], al
mov cl, 0x62
mov al, byte [esp + 0x10]
mov dl, 0x58
xor ah, al
mov byte [esp + 0x19], 0
mov ch, 0x46
mov byte [esp + 0x15], ah
mov dh, 0x1f
mov byte [esp + 0x19], 0
xor cl, al
xor ch, al
mov bl, 0x5a
mov byte [esp + 0x12], cl
mov bh, 0x7d
mov byte [esp + 0x16], ch
xor dl, al
lea ecx, [esp + 0xb8]
xor bl, al
mov byte [esp + 0x13], dl
xor dh, al
mov byte [esp + 0x14], bl
xor bh, al
mov byte [esp + 0x17], dh
lea eax, [esp + 0x11]
mov byte [esp + 0x18], bh
push eax
call fcn.004b74c0
mov ecx, dword [esp + 0xcc]
cmp ecx, 0x10
jb 0x4a8965
mov edx, dword [esp + 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a895b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a895b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004cb06d
add esp, 8
mov ch, 0x1a
mov byte [esp + 0x16], 0
mov dl, 0x7f
mov byte [esp + 0x10], ch
mov ah, dl
mov byte [esp + 0x16], 0
xor ah, ch
xor dl, ch
mov cl, 0x34
mov byte [esp + 0x15], ah
xor cl, ch
mov byte [esp + 0x13], dl
mov byte [esp + 0x12], cl
mov al, 0x2b
xor al, ch
mov bl, 0x62
xor bl, ch
mov byte [esp + 0x11], al
cmp dword [0x4db0f4], 8
mov ecx, 0x4db0e0
mov eax, dword [0x4db0f0]
cmovae ecx, dword [0x4db0e0]
mov byte [esp + 0x14], bl
lea eax, [ecx + eax*2]
mov ecx, 0x4db0e0
cmovae ecx, dword [0x4db0e0]
push ecx
push eax
push ecx
lea ecx, [esp + 0xac]
call fcn.004b8310
mov edi, eax
mov byte [esp + 0x22], 0
mov al, 0x19
mov byte [esp + 0x22], 0
mov cl, 0x45
mov byte [esp + 0x20], al
xor cl, al
cmp dword [0x4db0f4], 8
mov eax, dword [0x4db0f0]
mov byte [esp + 0x21], cl
mov ecx, 0x4db0e0
cmovae ecx, dword [0x4db0e0]
lea eax, [ecx + eax*2]
mov ecx, 0x4db0e0
cmovae ecx, dword [0x4db0e0]
push ecx
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004b8310
movaps xmm0, xmmword [0x4d6d20]
mov esi, eax
movups xmmword [esp + 0xb8], xmm0
mov dword [esp + 0xc8], 0x59571747
xor ecx, ecx
mov word [esp + 0xcc], 0x3346
mov byte [esp + 0xce], 0
mov al, byte [esp + 0xb8]
xor byte [esp + ecx + 0xb9], al
inc ecx
cmp ecx, 0x15
jb 0x4a8a50
lea eax, [esp + 0xb9]
mov byte [esp + 0xce], 0
push eax
lea edx, [esp + 0x1c4]
lea ecx, [esp + 0x8c]
call fcn.004b8190
add esp, 4
lea ecx, [esp + 0x58]
push esi
push eax
push dword [esp + 0x2c]
call fcn.004b8b30
lea eax, [esp + 0x21]
push eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x74]
call fcn.004b82b0
add esp, 4
lea ecx, [esp + 0x40]
push edi
push eax
push dword [esp + 0x2c]
call fcn.004b8b30
lea eax, [esp + 0x11]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0xec]
call fcn.004b82b0
mov ecx, dword [esp + 0x58]
add esp, 4
cmp ecx, 0x10
jb 0x4a8b0b
mov edx, dword [esp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8b01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8c8e
push ecx
push edx
call fcn.004cb06d
add esp, 8
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
cmp ecx, 0x10
jb 0x4a8b59
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8b4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8c8e
push ecx
push edx
call fcn.004cb06d
add esp, 8
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], 0
cmp ecx, 0x10
jb 0x4a8baa
mov edx, dword [esp + 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8ba0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8c8e
push ecx
push edx
call fcn.004cb06d
add esp, 8
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xf
mov byte [esp + 0x58], 0
cmp ecx, 0x10
jb 0x4a8bfb
mov edx, dword [esp + 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8bf1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8c8e
push ecx
push edx
call fcn.004cb06d
add esp, 8
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0xf
mov byte [esp + 0x88], 0
cmp ecx, 0x10
jb 0x4a8c4b
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8c41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8c8e
push ecx
push edx
call fcn.004cb06d
add esp, 8
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xf
mov byte [esp + 0x28], 0
cmp ecx, 0x10
jb 0x4a8c9e
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8c94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a8c94
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004cb06d
add esp, 8
cmp dword [0x4db0f4], 8
mov ecx, 0x4db0e0
mov eax, dword [0x4db0f0]
cmovae ecx, dword [0x4db0e0]
lea eax, [ecx + eax*2]
mov ecx, 0x4db0e0
cmovae ecx, dword [0x4db0e0]
push ecx
push eax
push ecx
lea ecx, [esp + 0xac]
call fcn.004b8310
movaps xmm0, xmmword [str._qSNFS_L]
mov esi, eax
movups xmmword [esp + 0xb8], xmm0
mov dword [esp + 0xc8], 0x17195909
xor ecx, ecx
mov word [esp + 0xcc], 0x7d08
mov byte [esp + 0xce], 0
nop dword [eax]
nop dword [eax + eax]
mov al, byte [esp + 0xb8]
xor byte [esp + ecx + 0xb9], al
inc ecx
cmp ecx, 0x15
jb 0x4a8d10
lea eax, [esp + 0xb9]
mov byte [esp + 0xce], 0
push eax
lea edx, [esp + 0x1c4]
lea ecx, [esp + 0x2c]
call fcn.004b8190
add esp, 4
lea ecx, [esp + 0xd0]
push esi
push eax
push dword [esp + 0x2c]
call fcn.004b8b30
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x10
jb 0x4a8d8b
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8d81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8dce
push ecx
push edx
call fcn.004cb06d
add esp, 8
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xf
mov byte [esp + 0x28], 0
cmp ecx, 0x10
jb 0x4a8dde
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8dd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a8dd4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004cb06d
add esp, 8
push 0xac
lea eax, [esp + 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x100], 0x4cd520
lea ecx, [esp + 0x168]
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, [esp + 0x10c]
push eax
lea ecx, [esp + 0x10c]
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 [esp + 0x100]
mov eax, dword [eax + 4]
mov dword [esp + 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 [esp + 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [esp + ecx + 0xfc], eax
lea ecx, [esp + 0x104]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [esp + 0x104]
mov dword [esp + 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 [esp + 0x14c], 0
mov byte [esp + 0x141], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x4dbc00]
cmp dword [esp + 0xe4], 0x10
mov ecx, dword [0x4dbc04]
mov dword [esp + 0x144], eax
lea eax, [esp + 0xd0]
cmovae eax, dword [esp + 0xd0]
push eax
mov dword [esp + 0x154], 0
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x140], 0
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
cmp dword [esp + 0x100], 0x10
lea eax, [esp + 0xec]
push 0x22
cmovae eax, dword [esp + 0xf0]
lea ecx, [esp + 0x10c]
push eax
call fcn.004b7f10
test eax, eax
lea ecx, [esp + 0x100]
mov eax, dword [esp + 0x100]
push 0
je 0x4a8f18
add ecx, dword [eax + 4]
push 0
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
jmp 0x4a8f23
add ecx, dword [eax + 4]
push 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 0x100
call fcn.004cb07b
add esp, 4
mov dword [esp + 0x20], eax
cmp dword [esp + 0x150], 0
je 0x4a8ff5
mov edi, dword [0x4db868]
xor ebx, ebx
mov ecx, dword [edi + 0x3c]
mov ebp, dword [ecx + edi + 0x78]
mov esi, dword [ebp + edi + 0x20]
add esi, edi
mov eax, dword [esi]
mov edx, 0x561452b2
add eax, edi
mov cl, byte [eax]
inc eax
test cl, cl
je 0x4a8f84
movsx ecx, cl
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [eax - 1]
test cl, cl
jne 0x4a8f67
cmp edx, 0x6aa96506
je 0x4a8f8a
inc ebx
add esi, 4
jmp 0x4a8f57
mov eax, dword [ebp + edi + 0x24]
push 8
push 4
lea eax, [eax + ebx*2]
mov ebx, dword [esp + 0x28]
movzx ecx, word [eax + edi]
mov eax, dword [ebp + edi + 0x1c]
push ebx
push dword [esp + 0x30]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edi]
add eax, edi
call eax
cmp eax, 0xffffffff
je 0x4a8fd4
test eax, eax
jle 0x4a8ff5
push 0
push 4
push ebx
lea ecx, [esp + 0x10c]
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 0x4a8f42
cmp dword [esp + 0xe4], 0x10
lea eax, [esp + 0xd0]
cmovae eax, dword [esp + 0xd0]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
lea ecx, [esp + 0x104]
call fcn.004b7a20
test eax, eax
jne 0x4a901f
push eax
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0x104]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [esp + 0x100]
call fcn.004a9140
mov ecx, dword [esp + 0xe4]
cmp ecx, 0x10
jb 0x4a9067
mov edx, dword [esp + 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a905d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9109
push ecx
push edx
call fcn.004cb06d
add esp, 8
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0xf
mov byte [esp + 0xd0], 0
cmp ecx, 0x10
jb 0x4a90bd
mov edx, dword [esp + 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a90b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9109
push ecx
push edx
call fcn.004cb06d
add esp, 8
mov ecx, dword [esp + 0x1d4]
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0xf
mov byte [esp + 0xe8], 0
cmp ecx, 0x10
jb 0x4a9119
mov edx, dword [esp + 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a910f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a910f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004cb06d
add esp, 8
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cadd9
add esp, 0x1ac
ret