Function at 0x1006d8b0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007111c
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100af010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
push eax
push str.https:__raw.githubusercontent.com_casulguy_rl_main_vx
push 0
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamA]
test eax, eax
je 0x1006d91f
xor al, al
jmp 0x1006da32
mov ebx, dword [ebp - 0x38]
push 0
push 0x100726df
lea ecx, [ebp - 0x2c]
call fcn.100558c0
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
push edx
push 1
lea edx, [ebp - 0x14]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
cmp dword [ebp - 0x30], 0
mov edi, eax
je 0x1006da4e
test edi, edi
js 0x1006da83
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
cmp ecx, esi
jae 0x1006d97f
cmp esi, 0x10
lea edx, [ebp - 0x2c]
lea eax, [ecx + 1]
cmovae edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov al, byte [ebp - 0x14]
mov byte [edx + ecx], al
mov byte [edx + ecx + 1], 0
jmp 0x1006d98c
push dword [ebp - 0x14]
push ebx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1005be60
cmp byte [ebp - 0x14], 0xa
jne 0x1006d931
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
dec ecx
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
push 0x18
mov byte [eax + ecx], 0
call fcn.1006e3ec
add esp, 4
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.1005b7f0
mov byte [ebp - 4], 1
mov ecx, dword [0x100af6cc]
mov dword [ebp - 0x38], eax
cmp ecx, dword [0x100af6d0]
je 0x1006d9e4
mov dword [ecx], eax
add dword [0x100af6cc], 4
jmp 0x1006d9ee
lea eax, [ebp - 0x38]
push eax
push ecx
call fcn.1006dab0
cmp edi, 1
jne 0x1006d922
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1006da30
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006da26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006da7d
push edx
push ecx
call fcn.1006e36a
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006dc26
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1006da30
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006da26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006da26
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push str.Read_failed
lea ecx, [ebp - 0x48]
call fcn.10056180
push 0x100acca4
lea eax, [ebp - 0x48]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3