Function at 0x1801ca980
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x18054e100]
xor rax, rsp
mov qword [rbp + 0x370], rax
lea rax, str.Other
cmp qword [0x1805b2ce0], rax
je 0x1801caf24
mov rbx, qword [0x1805d8448]
mov rdi, qword [0x1805d8450]
cmp rbx, rdi
je 0x1801ca9ff
nop
mov rcx, rbx
call fcn.18006b8d0
add rbx, 0x20
cmp rbx, rdi
jne 0x1801ca9e0
mov rax, qword [0x1805d8448]
mov qword [0x1805d8450], rax
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.WinINet_Example
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
test rax, rax
jne 0x1801caa69
lea rdx, str.Failed_to_open_internet_handle
lea rcx, [0x1805a99e0]
call fcn.18007acb0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.18008b630
movzx edx, al
mov rcx, rbx
call fcn.18007ed90
mov rcx, rbx
call fcn.1800845f0
lea eax, [r13 + 1]
jmp 0x1801caf2b
mov r8d, 0x1bb
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea rdx, str.raw.githubusercontent.com
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r15, rax
test rax, rax
jne 0x1801caaed
lea rdx, str.Failed_to_connect_to_internet
lea rcx, [0x1805a99e0]
call fcn.18007acb0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.18008b630
movzx edx, al
mov rcx, rbx
call fcn.18007ed90
mov rcx, rbx
call fcn.1800845f0
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [r15 + 1]
jmp 0x1801caf2b
mov r14, r13
lea rcx, [0x1804aad10]
mov rax, qword [0x1805b2ce0]
cmp rax, rcx
jne 0x1801cab9d
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x80800000
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, str._3xploitch3ats_Thunder_Menu_langage_VF.langage
lea rdx, [0x18043c5a0]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r14, rax
test rax, rax
jne 0x1801cab96
lea rdx, str.Failed_to_open_HTTP_request
lea rcx, [0x1805a99e0]
call fcn.18007acb0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.18008b630
movzx edx, al
mov rcx, rbx
call fcn.18007ed90
mov rcx, rbx
call fcn.1800845f0
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x1801caf2b
mov rax, qword [0x1805b2ce0]
lea rcx, str.CHINESES
cmp rax, rcx
jne 0x1801cabed
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x80800000
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, str._3xploitch3ats_Thunder_Menu_langage_CHINESES.langage
lea rdx, [0x18043c5a0]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r14, rax
test rax, rax
je 0x1801cab40
mov rax, qword [0x1805b2ce0]
lea rcx, str.RUSSE
cmp rax, rcx
jne 0x1801cac3d
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x80800000
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, str._3xploitch3ats_Thunder_Menu_langage_RUSSE.langage
lea rdx, [0x18043c5a0]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r14, rax
test rax, rax
je 0x1801cab40
mov rax, qword [0x1805b2ce0]
lea rcx, str.SPANISH
cmp rax, rcx
jne 0x1801cac8d
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x80800000
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, str._3xploitch3ats_Thunder_Menu_langage_SPANISH.langage
lea rdx, [0x18043c5a0]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r14, rax
test rax, rax
je 0x1801cab40
mov rax, qword [0x1805b2ce0]
lea rcx, str.UKRAINIEN
cmp rax, rcx
jne 0x1801cacdd
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x80800000
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, str._3xploitch3ats_Thunder_Menu_langage_UKRAINIEN.langage
lea rdx, [0x18043c5a0]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r14, rax
test rax, rax
je 0x1801cab40
mov rax, qword [0x1805b2ce0]
lea rcx, [0x1804aaeb8]
cmp rax, rcx
jne 0x1801cad26
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0x80800000
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, str._3xploitch3ats_Thunder_Menu_langage_VO.langage
lea rdx, [0x18043c5a0]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r14, rax
test rax, rax
je 0x1801cab40
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x1801cad88
lea rdx, str.Failed_to_send_HTTP_request
lea rcx, [0x1805a99e0]
call fcn.18007acb0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.18008b630
movzx edx, al
mov rcx, rbx
call fcn.18007ed90
mov rcx, rbx
call fcn.1800845f0
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1801cab7a
mov dword [rsp + 0x40], r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov esi, 0xf
mov qword [rsp + 0x60], rsi
mov byte [rsp + 0x48], r13b
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1801caeee
nop word [rax + rax]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1801caeab
mov ebx, r13d
lea rdi, [rsp + 0x70]
movzx r9d, byte [rdi]
cmp r9b, 0xa
jne 0x1801cae3f
mov rax, qword [0x1805d8450]
cmp rax, qword [0x1805d8458]
je 0x1801cae15
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1800691d0
add qword [0x1805d8450], 0x20
jmp 0x1801cae29
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [0x1805d8448]
call fcn.18015d700
xor r8d, r8d
lea rdx, [0x18043ad70]
lea rcx, [rsp + 0x48]
call fcn.180068770
jmp 0x1801cae76
mov rcx, qword [rsp + 0x58]
cmp rcx, rsi
jae 0x1801cae6c
lea rax, [rcx + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp rsi, 0xf
cmova rax, qword [rsp + 0x48]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1801cae76
lea rcx, [rsp + 0x48]
call fcn.18006c050
inc ebx
inc rdi
mov rsi, qword [rsp + 0x60]
cmp ebx, dword [rsp + 0x40]
jb 0x1801cade4
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1801cadd0
cmp qword [rsp + 0x58], 0
je 0x1801caeee
mov rax, qword [0x1805d8450]
cmp rax, qword [0x1805d8458]
je 0x1801caeda
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1800691d0
add qword [0x1805d8450], 0x20
jmp 0x1801caeee
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [0x1805d8448]
call fcn.18015d700
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
lea rcx, [rsp + 0x48]
call fcn.18006b8d0
lea rax, str.Other
cmp qword [0x1805b2ce0], rax
jne 0x1801caf29
call fcn.1801da420
xor eax, eax
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.180357630
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret