Function at 0x140003090
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1400430c0]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rbx, rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x80], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 1]
lea rcx, str.WinINet_Example
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r8d, [rsi + 0x17]
lea rdx, str.http:__ip_api.com_json_
lea rcx, [rsp + 0x30]
call fcn.140002840
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.1400029b0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140003168
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003163
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003439
call fcn.140013e80
movdqa xmm0, xmmword [0x14003c3e0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
cmp qword [rsp + 0x68], 0
jne 0x14000318a
xor bl, bl
jmp 0x14000339b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x20]
call fcn.1400061a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp - 0x50], rsi
mov byte [rbp - 0x48], 0
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x30], xmm1
mov qword [rbp - 0x20], rsi
mov byte [rbp - 0x18], 0
movdqa xmmword [rbp - 0x10], xmm0
mov byte [rbp], 0
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], rsi
mov byte [rbp + 0x18], 0
lea r10, [rsp + 0x58]
mov r9, qword [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova r10, r9
lea rcx, [rsp + 0x58]
cmova rcx, r9
mov rax, qword [rsp + 0x68]
lea rdx, [rcx + rax*2]
lea rcx, [rsp + 0x58]
cmova rcx, r9
mov qword [rsp + 0x28], r10
lea r9, [rbp + 0x20]
lea r8, [rbp - 0x50]
call fcn.14000a1c0
test al, al
je 0x140003360
mov rcx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x40]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 2
jne 0x140003360
cmp byte [r8 + 0x28], 0
je 0x140003276
movups xmm0, xmmword [r8 + 0x18]
movups xmmword [rsp + 0x30], xmm0
jmp 0x14000327f
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
cmp rdx, r8
jne 0x1400032ad
mov r10d, 7
mov qword [rbp - 0x60], r10
mov word [rbp - 0x78], si
jmp 0x1400032c0
sub r8, rdx
sar r8, 1
lea rcx, [rbp - 0x78]
call fcn.140002840
mov r10, qword [rbp - 0x60]
mov rdi, qword [rbx + 8]
mov r9, qword [rbx]
mov r11, qword [rbp - 0x78]
cmp r9, rdi
je 0x140003321
mov rbx, qword [rbp - 0x68]
mov rax, r9
cmp qword [r9 + 0x18], 7
jbe 0x1400032e1
mov rax, qword [r9]
lea r8, [rbp - 0x78]
cmp r10, 7
cmova r8, r11
cmp rbx, qword [r9 + 0x10]
jne 0x140003318
mov rdx, rbx
test rbx, rbx
je 0x140003314
sub r8, rax
nop
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x140003318
add rax, 2
sub rdx, 1
jne 0x140003300
xor bl, bl
jmp 0x140003323
add r9, 0x20
cmp r9, rdi
jne 0x1400032d4
mov bl, 1
cmp r10, 7
jbe 0x140003362
lea rdx, [r10*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140003356
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000343f
mov rcx, r11
call fcn.140013e80
jmp 0x140003362
xor bl, bl
lea rcx, [rbp - 0x40]
call fcn.1400060e0
nop
lea rcx, [rbp + 0x20]
call fcn.140007970
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14000339b
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000339b
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1400033d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003433
call fcn.140013e80
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], si
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400033fb
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000340b
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movzx eax, bl
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.140013e60
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14001bf90
nop
call fcn.14001bf90
nop
call fcn.14001bf90
int3