Function at 0x140004680
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1100
call fcn.140027c60
sub rsp, rax
mov rax, qword [0x140068080]
xor rax, rsp
mov qword [rsp + 0x10f8], rax
mov r12, rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.AutoUpdater
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
test rax, rax
je 0x140004ae5
lea rdx, [0x14006b7a8]
cmp qword [0x14006b7c0], 0x10
cmovae rdx, qword [0x14006b7a8]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
jne 0x140004729
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140004ae5
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xb8], 0xf
mov byte [rsp + 0xa0], r13b
lea r9, [rsp + 0x88]
mov r8d, 0x1000
lea rdx, [rsp + 0xf0]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140004831
movzx ebx, byte [rsp + 0x30]
nop dword [rax]
mov eax, dword [rsp + 0x88]
test eax, eax
je 0x140004831
mov edi, eax
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1400047e9
lea rax, [rcx + rdi]
mov qword [rsp + 0xb0], rax
lea rsi, [rsp + 0xa0]
cmp rdx, 0x10
cmovae rsi, qword [rsp + 0xa0]
add rsi, rcx
mov r8d, edi
lea rdx, [rsp + 0xf0]
mov rcx, rsi
call fcn.1400294a0
mov byte [rsi + rdi], 0
jmp 0x14000480a
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xf0]
movzx r8d, bl
mov rdx, rdi
lea rcx, [rsp + 0xa0]
call fcn.14000c1a0
lea r9, [rsp + 0x88]
mov r8d, 0x1000
lea rdx, [rsp + 0xf0]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140004780
mov byte [rsp + 0x90], 0
xor edx, edx
lea rcx, [rsp + 0x98]
call fcn.14000a6e0
nop
mov qword [rsp + 0x80], r13
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xc0]
call fcn.14000b9f0
movzx edx, byte [rsp + 0x90]
movzx ebx, byte [rax]
mov byte [rsp + 0x90], bl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rax, qword [rsp + 0x98]
mov rdi, qword [rcx]
mov qword [rsp + 0x98], rdi
mov qword [rcx], rax
call fcn.140009b60
nop
cmp ebx, 9
ja case.0x1400048b9.3
lea rdx, [0x140000000]
mov ecx, dword [rdx + rbx*4 + 0x4b1c]
add rcx, rdx
jmp rcx
mov rax, qword [rdi + 8]
cmp qword [rdi], rax
jmp 0x1400048c9
cmp qword [rdi + 8], 0
sete al
test al, al
je case.0x1400048b9.3
movzx edx, bl
lea rcx, [rsp + 0x98]
call fcn.140009b60
nop
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0x10
jb 0x140004ae5
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004923
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b14
call fcn.140027540
jmp 0x140004ae5
cmp bl, 2
jne 0x140004a5b
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.140007430
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400075a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xe8], r13
mov r8d, 6
lea rdx, str.commit
lea rcx, [rsp + 0xd0]
call fcn.140003c60
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xc0]
call fcn.14000e180
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov r8d, 6
lea rdx, str.author
lea rcx, [rsp + 0x48]
call fcn.140003c60
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14000e180
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1400075a0
nop
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x38]
call fcn.1400075a0
movzx edx, byte [r12]
movzx ecx, byte [rax]
mov byte [r12], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rdx, qword [r12 + 8]
mov r8, qword [rcx]
mov qword [r12 + 8], r8
mov qword [rcx], rdx
movzx edx, byte [rax]
call fcn.140009b60
nop
movzx edx, byte [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.140009b60
nop
movzx edx, byte [rsp + 0xc0]
lea rcx, [rsp + 0xc8]
call fcn.140009b60
nop
movzx ebx, byte [rsp + 0x90]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
movzx edx, bl
lea rcx, [rsp + 0x98]
call fcn.140009b60
nop
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0x10
jb 0x140004abe
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ab9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b14
call fcn.140027540
mov al, 1
jmp 0x140004ae7
xor al, al
mov rcx, qword [rsp + 0x10f8]
xor rcx, rsp
call fcn.140027520
lea r11, [rsp + 0x1100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400365b0
int3