Function at 0x1400027a0
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push rbp
sub rsp, 0x150
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rcx
mov rax, qword [0x140092380]
xor rax, rbp
mov qword [rbp + 0xc8], rax
mov dword [rbp - 0x1c], 0x5f759c5a
mov eax, dword [rbp - 0x1c]
mov dword [rbp - 0x34], eax
sub eax, 0x81f40b10
je 0x140003d75
jmp 0x1400027e6
mov eax, dword [rbp - 0x34]
sub eax, 0x89c3433a
je 0x1400031b2
jmp 0x1400027f9
mov eax, dword [rbp - 0x34]
sub eax, 0x91c66628
je 0x140003b54
jmp 0x14000280c
mov eax, dword [rbp - 0x34]
sub eax, 0x91dbbf99
je 0x140003410
jmp 0x14000281f
mov eax, dword [rbp - 0x34]
sub eax, 0x9662b8d0
je 0x140002d0b
jmp 0x140002832
mov eax, dword [rbp - 0x34]
sub eax, 0x986d627f
je 0x1400038d6
jmp 0x140002845
mov eax, dword [rbp - 0x34]
sub eax, 0x9afaa3f2
je 0x14000363a
jmp 0x140002858
mov eax, dword [rbp - 0x34]
sub eax, 0xa394ad3a
je 0x14000375a
jmp 0x14000286b
mov eax, dword [rbp - 0x34]
sub eax, 0xa7a129c6
je 0x140002e33
jmp 0x14000287e
mov eax, dword [rbp - 0x34]
sub eax, 0xab219670
je 0x140003ce1
jmp 0x140002891
mov eax, dword [rbp - 0x34]
sub eax, 0xabf90fc6
je 0x140003ac6
jmp 0x1400028a4
mov eax, dword [rbp - 0x34]
sub eax, 0xb07e338c
je 0x14000381e
jmp 0x1400028b7
mov eax, dword [rbp - 0x34]
sub eax, 0xb818f590
je 0x140002f38
jmp 0x1400028ca
mov eax, dword [rbp - 0x34]
sub eax, 0xbea82d07
je 0x140003868
jmp 0x1400028dd
mov eax, dword [rbp - 0x34]
sub eax, 0xc712a615
je 0x140003d11
jmp 0x1400028f0
mov eax, dword [rbp - 0x34]
sub eax, 0xcba73c3d
je 0x1400035ad
jmp 0x140002903
mov eax, dword [rbp - 0x34]
sub eax, 0xcd906f74
je 0x140003afb
jmp 0x140002916
mov eax, dword [rbp - 0x34]
sub eax, 0xd582c5b1
je 0x140003266
jmp 0x140002929
mov eax, dword [rbp - 0x34]
sub eax, 0xd878444b
je 0x14000392d
jmp 0x14000293c
mov eax, dword [rbp - 0x34]
sub eax, 0xda43d5b9
je 0x14000397c
jmp 0x14000294f
mov eax, dword [rbp - 0x34]
sub eax, 0xdad20ac9
je 0x1400030a8
jmp 0x140002962
mov eax, dword [rbp - 0x34]
sub eax, 0xdb32f9e3
je 0x1400038be
jmp 0x140002975
mov eax, dword [rbp - 0x34]
sub eax, 0xdb6d5d32
je 0x140003c3d
jmp 0x140002988
mov eax, dword [rbp - 0x34]
sub eax, 0xe0bd492a
je 0x140002f44
jmp 0x14000299b
mov eax, dword [rbp - 0x34]
sub eax, 0xe182421b
je 0x140002e4e
jmp 0x1400029ae
mov eax, dword [rbp - 0x34]
sub eax, 0xeb0be0dc
je 0x140002cbc
jmp 0x1400029c1
mov eax, dword [rbp - 0x34]
sub eax, 0xecdc4f4e
je 0x140003b28
jmp 0x1400029d4
mov eax, dword [rbp - 0x34]
sub eax, 0xf2754a1f
je 0x1400038f6
jmp 0x1400029e7
mov eax, dword [rbp - 0x34]
sub eax, 0xf4a8b93a
je 0x1400037f7
jmp 0x1400029fa
mov eax, dword [rbp - 0x34]
sub eax, 0xf94d7a04
je 0x1400032c1
jmp 0x140002a0d
mov eax, dword [rbp - 0x34]
sub eax, 0x610cd22
je 0x1400033d2
jmp 0x140002a20
mov eax, dword [rbp - 0x34]
sub eax, 0x89d3281
je 0x140003ad2
jmp 0x140002a33
mov eax, dword [rbp - 0x34]
sub eax, 0x8c5c312
je 0x1400033a1
jmp 0x140002a46
mov eax, dword [rbp - 0x34]
sub eax, 0xabe9d2c
je 0x140003272
jmp 0x140002a59
mov eax, dword [rbp - 0x34]
sub eax, 0x13af912f
je 0x140003914
jmp 0x140002a6c
mov eax, dword [rbp - 0x34]
sub eax, 0x16bd4e93
je 0x140003c96
jmp 0x140002a7f
mov eax, dword [rbp - 0x34]
sub eax, 0x1735fde9
je 0x14000334f
jmp 0x140002a92
mov eax, dword [rbp - 0x34]
sub eax, 0x1820d107
je 0x140003052
jmp 0x140002aa5
mov eax, dword [rbp - 0x34]
sub eax, 0x1a7adb79
je 0x1400037eb
jmp 0x140002ab8
mov eax, dword [rbp - 0x34]
sub eax, 0x1b72ba42
je 0x140002e9d
jmp 0x140002acb
mov eax, dword [rbp - 0x34]
sub eax, 0x1f90b1ea
je 0x1400038b2
jmp 0x140002ade
mov eax, dword [rbp - 0x34]
sub eax, 0x20cf7e18
je 0x1400036bb
jmp 0x140002af1
mov eax, dword [rbp - 0x34]
sub eax, 0x21da054c
je 0x140003c57
jmp 0x140002b04
mov eax, dword [rbp - 0x34]
sub eax, 0x316a2c90
je 0x140003a42
jmp 0x140002b17
mov eax, dword [rbp - 0x34]
sub eax, 0x33bd9a1f
je 0x1400034ab
jmp 0x140002b2a
mov eax, dword [rbp - 0x34]
sub eax, 0x34a7c6c0
je 0x140003b96
jmp 0x140002b3d
mov eax, dword [rbp - 0x34]
sub eax, 0x34bfeef8
je 0x14000312a
jmp 0x140002b50
mov eax, dword [rbp - 0x34]
sub eax, 0x3a52f8fd
je 0x140003c16
jmp 0x140002b63
mov eax, dword [rbp - 0x34]
sub eax, 0x3bd17b87
je 0x1400035b9
jmp 0x140002b76
mov eax, dword [rbp - 0x34]
sub eax, 0x3d37db70
je 0x1400036d9
jmp 0x140002b89
mov eax, dword [rbp - 0x34]
sub eax, 0x4150668b
je 0x14000335b
jmp 0x140002b9c
mov eax, dword [rbp - 0x34]
sub eax, 0x4de9519f
je 0x140003136
jmp 0x140002baf
mov eax, dword [rbp - 0x34]
sub eax, 0x569e4b70
je 0x140003a36
jmp 0x140002bc2
mov eax, dword [rbp - 0x34]
sub eax, 0x5f759c5a
je 0x140002c72
jmp 0x140002bd5
mov eax, dword [rbp - 0x34]
sub eax, 0x60b80a52
je 0x140003d69
jmp 0x140002be8
mov eax, dword [rbp - 0x34]
sub eax, 0x6738af2d
je 0x14000352c
jmp 0x140002bfb
mov eax, dword [rbp - 0x34]
sub eax, 0x68091b01
je 0x140003376
jmp 0x140002c0e
mov eax, dword [rbp - 0x34]
sub eax, 0x6ad1c522
je 0x14000305e
jmp 0x140002c21
mov eax, dword [rbp - 0x34]
sub eax, 0x6bd25d4a
je 0x140002fc0
jmp 0x140002c34
mov eax, dword [rbp - 0x34]
sub eax, 0x6d7f5151
je 0x140003d1d
jmp 0x140002c47
mov eax, dword [rbp - 0x34]
sub eax, 0x7d1d3b78
je 0x140003cd5
jmp 0x140002c5a
mov eax, dword [rbp - 0x34]
sub eax, 0x7fb69b46
je 0x140003b6b
jmp 0x140002c6d
jmp 0x140003db5
mov eax, 0x10
mov qword [rbp - 0x40], rax
call fcn.14005d3a0
sub rsp, rax
mov rax, qword [rbp - 0x40]
mov rcx, rsp
mov qword [rbp + 0x10], rcx
call fcn.14005d3a0
sub rsp, rax
mov rax, qword [rbp - 0x40]
mov rcx, rsp
mov qword [rbp + 0x18], rcx
call fcn.14005d3a0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x20], rax
mov dword [rbp - 0x1c], 0xeb0be0dc
jmp 0x140003db5
mov eax, dword [0x14009534c]
mov ecx, dword [0x140095348]
mov edx, eax
add edx, 0x86c5f9e9
sub edx, 1
sub edx, 0x86c5f9e9
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x34a7c6c0
mov ecx, 0x9662b8d0
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov rcx, qword [rbp - 0x30]
mov eax, 0x10
mov qword [rbp - 0x50], rax
call fcn.14005d3a0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x28], rax
mov eax, 0x20
mov qword [rbp - 0x48], rax
call fcn.14005d3a0
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov rdx, rsp
mov qword [rbp + 0x30], rdx
call fcn.14005d3a0
sub rsp, rax
mov rax, qword [rbp - 0x50]
mov rdx, rsp
mov qword [rbp + 0x38], rdx
call fcn.14005d3a0
sub rsp, rax
mov rax, qword [rbp - 0x48]
mov rdx, rsp
mov qword [rbp + 0x40], rdx
call fcn.14005d3a0
sub rsp, rax
mov rax, qword [rbp - 0x28]
mov rdx, rsp
mov qword [rbp + 0x48], rdx
mov qword [rbp], rcx
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x10]
mov dword [rax], 0
mov rax, qword [rbp + 0x18]
mov dword [rax], 0
mov rax, qword [rbp + 0x20]
mov dword [rax], 0
mov rax, qword [rbp + 0x28]
mov dword [rax], 4
lea rcx, str.User_Agent
mov edx, 1
xor eax, eax
mov r9d, eax
xor eax, eax
sub rsp, 0x30
mov r8, r9
mov dword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_InternetOpenA]
add rsp, 0x30
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
sete al
and al, 1
mov byte [rbp + 0x57], al
mov eax, dword [0x14009534c]
mov ecx, dword [0x140095348]
xor r8d, r8d
sub r8d, 1
mov edx, eax
add edx, r8d
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x34a7c6c0
mov ecx, 0xa7a129c6
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov dl, byte [rbp + 0x57]
mov eax, 0x4de9519f
mov ecx, 0xe182421b
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov eax, dword [0x14009534c]
mov ecx, dword [0x140095348]
mov edx, eax
sub edx, 0xbb3aad67
sub edx, 1
add edx, 0xbb3aad67
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x3a52f8fd
mov ecx, 0x1b72ba42
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
lea rcx, [0x140093900]
lea rdx, str.InternetOpen_failed._Error:
sub rsp, 0x20
call fcn.14000d9e0
add rsp, 0x20
mov qword [rbp + 0x58], rax
mov ecx, dword [0x14009534c]
mov eax, dword [0x140095348]
xor r8d, r8d
sub r8d, 1
mov edx, ecx
add edx, r8d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and r11b, cl
mov r9b, r8b
and r9b, 0xff
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x3a52f8fd
mov ecx, 0xb818f590
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov dword [rbp - 0x1c], 0xe0bd492a
jmp 0x140003db5
mov ecx, dword [0x14009534c]
mov eax, dword [0x140095348]
xor r8d, r8d
sub r8d, 1
mov edx, ecx
add edx, r8d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and r11b, cl
mov r9b, r8b
and r9b, 0
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0xdb6d5d32
mov ecx, 0x6bd25d4a
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov dword [rbp + 0x60], eax
mov ecx, dword [0x14009534c]
mov eax, dword [0x140095348]
mov edx, ecx
add edx, 0xba6e3642
sub edx, 1
sub edx, 0xba6e3642
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and r11b, cl
mov r9b, r8b
and r9b, 0
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0xdb6d5d32
mov ecx, 0x1820d107
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov dword [rbp - 0x1c], 0x6ad1c522
jmp 0x140003db5
mov eax, dword [0x14009534c]
mov ecx, dword [0x140095348]
xor r8d, r8d
sub r8d, 1
mov edx, eax
add edx, r8d
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x21da054c
mov ecx, 0xdad20ac9
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov rcx, qword [rbp + 0x58]
mov edx, dword [rbp + 0x60]
sub rsp, 0x20
call fcn.14000f5a0
add rsp, 0x20
mov rcx, rax
lea rdx, [0x14000fd80]
sub rsp, 0x20
call fcn.14000fd00
add rsp, 0x20
mov qword [rbp + 8], 0
mov eax, dword [0x14009534c]
mov ecx, dword [0x140095348]
mov edx, eax
sub edx, 0xf9a24faa
sub edx, 1
add edx, 0xf9a24faa
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x21da054c
mov ecx, 0x34bfeef8
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov dword [rbp - 0x1c], 0x91c66628
jmp 0x140003db5
mov ecx, dword [0x14009534c]
mov eax, dword [0x140095348]
xor r8d, r8d
sub r8d, 1
mov edx, ecx
add edx, r8d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and r11b, cl
mov r9b, r8b
and r9b, 0xff
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x16bd4e93
mov ecx, 0x89c3433a
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp - 0x10]
xor eax, eax
mov r8d, eax
xor r9d, r9d
sub rsp, 0x30
mov dword [rsp + 0x20], 0x80000000
mov qword [rsp + 0x28], 0
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
add rsp, 0x30
mov qword [rbp - 0x18], rax
mov ecx, dword [0x14009534c]
mov eax, dword [0x140095348]
mov edx, ecx
add edx, 0x767cb16c
sub edx, 1
sub edx, 0x767cb16c
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and r11b, cl
mov r9b, r8b
and r9b, 0
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x16bd4e93
mov ecx, 0xd582c5b1
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov dword [rbp - 0x1c], 0xabe9d2c
jmp 0x140003db5
mov eax, dword [0x14009534c]
mov ecx, dword [0x140095348]
mov edx, eax
add edx, 0x7a05c964
sub edx, 1
sub edx, 0x7a05c964
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x7d1d3b78
mov ecx, 0xf94d7a04
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
cmp qword [rbp - 0x18], 0
sete al
and al, 1
mov byte [rbp + 0x67], al
mov ecx, dword [0x14009534c]
mov eax, dword [0x140095348]
mov edx, ecx
add edx, 0xad1e5725
sub edx, 1
sub edx, 0xad1e5725
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and r11b, cl
mov r9b, r8b
and r9b, 0xff
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x7d1d3b78
mov ecx, 0x1735fde9
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov dword [rbp - 0x1c], 0x4150668b
jmp 0x140003db5
mov dl, byte [rbp + 0x67]
mov eax, 0x91dbbf99
mov ecx, 0x68091b01
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
lea rcx, [0x140093900]
lea rdx, str.InternetOpenUrlA_failed._Error:
sub rsp, 0x20
call fcn.14000d9e0
add rsp, 0x20
mov qword [rbp + 0x68], rax
mov dword [rbp - 0x1c], 0x8c5c312
jmp 0x140003db5
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov edx, eax
mov rcx, qword [rbp + 0x68]
sub rsp, 0x20
call fcn.14000f5a0
add rsp, 0x20
mov qword [rbp + 0x70], rax
mov dword [rbp - 0x1c], 0x610cd22
jmp 0x140003db5
mov rcx, qword [rbp + 0x70]
lea rdx, [0x14000fd80]
sub rsp, 0x20
call fcn.14000fd00
add rsp, 0x20
mov rcx, qword [rbp - 0x10]
sub rsp, 0x20
call qword [sym.imp.WININET.dll_InternetCloseHandle]
add rsp, 0x20
mov qword [rbp + 8], 0
mov dword [rbp - 0x1c], 0x91c66628
jmp 0x140003db5
mov rcx, qword [rbp - 0x18]
mov r8, qword [rbp + 0x18]
mov rax, qword [rbp + 0x20]
mov r9, qword [rbp + 0x28]
mov edx, 0x20000005
sub rsp, 0x30
mov qword [rsp + 0x20], rax
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
add rsp, 0x30
mov rcx, qword [rbp + 0x38]
sub rsp, 0x20
call fcn.140010180
add rsp, 0x20
mov rax, qword [rbp + 0x40]
mov byte [rax], 0
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
xor ecx, ecx
sub ecx, 1
sub eax, ecx
mov eax, eax
mov edx, eax
mov rcx, qword [rbp + 0x30]
mov r9, qword [rbp + 0x38]
mov r8, qword [rbp + 0x40]
sub rsp, 0x20
call fcn.140010310
add rsp, 0x20
mov rax, qword [rbp + 0x18]
mov eax, dword [rax]
mov dword [rbp + 0x7c], eax
mov rcx, qword [rbp + 0x30]
xor eax, eax
mov edx, eax
sub rsp, 0x20
call fcn.140010720
add rsp, 0x20
mov qword [rbp + 0x80], rax
mov dword [rbp - 0x1c], 0x33bd9a1f
jmp 0x140003db5
mov ecx, dword [0x14009534c]
mov eax, dword [0x140095348]
mov edx, ecx
sub edx, 0x99051b09
sub edx, 1
add edx, 0x99051b09
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and r11b, cl
mov r9b, r8b
and r9b, 0xff
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xab219670
mov ecx, 0x6738af2d
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov rcx, qword [rbp - 0x18]
mov r8d, dword [rbp + 0x7c]
mov rdx, qword [rbp + 0x80]
lea r9, [rbp + 0xc4]
sub rsp, 0x20
call qword [sym.imp.WININET.dll_InternetReadFile]
add rsp, 0x20
cmp eax, 0
setne al
and al, 1
mov byte [rbp + 0x8f], al
mov eax, dword [0x14009534c]
mov ecx, dword [0x140095348]
mov edx, eax
add edx, 0x25ab91ba
sub edx, 1
sub edx, 0x25ab91ba
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xab219670
mov ecx, 0xcba73c3d
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov dword [rbp - 0x1c], 0x3bd17b87
jmp 0x140003db5
mov ecx, dword [0x14009534c]
mov eax, dword [0x140095348]
mov edx, ecx
sub edx, 0xb7ac8439
sub edx, 1
add edx, 0xb7ac8439
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and r11b, cl
mov r9b, r8b
and r9b, 0
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0xc712a615
mov ecx, 0x9afaa3f2
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov ecx, dword [0x14009534c]
mov eax, dword [0x140095348]
mov edx, ecx
sub edx, 0x3d52980e
sub edx, 1
add edx, 0x3d52980e
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and r11b, cl
mov r9b, r8b
and r9b, 0xff
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xc712a615
mov ecx, 0x20cf7e18
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov dl, byte [rbp + 0x8f]
mov eax, 0x3d37db70
mov ecx, 0xdb32f9e3
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov ecx, dword [0x14009534c]
mov eax, dword [0x140095348]
mov edx, ecx
add edx, 0x4631e737
sub edx, 1
sub edx, 0x4631e737
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and r11b, cl
mov r9b, r8b
and r9b, 0xff
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x6d7f5151
mov ecx, 0xa394ad3a
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
lea rcx, [0x140093900]
lea rdx, str.InternetReadFile_failed._Error:
sub rsp, 0x20
call fcn.14000d9e0
add rsp, 0x20
mov qword [rbp - 0x58], rax
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x58]
add rsp, 0x20
mov edx, eax
sub rsp, 0x20
call fcn.14000f5a0
add rsp, 0x20
mov qword [rbp + 0x90], rax
mov eax, dword [0x14009534c]
mov ecx, dword [0x140095348]
xor r8d, r8d
sub r8d, 1
mov edx, eax
add edx, r8d
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x6d7f5151
mov ecx, 0x1a7adb79
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov dword [rbp - 0x1c], 0xf4a8b93a
jmp 0x140003db5
mov rcx, qword [rbp + 0x90]
lea rdx, [0x14000fd80]
sub rsp, 0x20
call fcn.14000fd00
add rsp, 0x20
mov dword [rbp - 0x1c], 0xb07e338c
jmp 0x140003db5
mov eax, dword [0x14009534c]
mov ecx, dword [0x140095348]
xor r8d, r8d
sub r8d, 1
mov edx, eax
add edx, r8d
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x60b80a52
mov ecx, 0xbea82d07
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov eax, dword [0x14009534c]
mov ecx, dword [0x140095348]
xor r8d, r8d
sub r8d, 1
mov edx, eax
add edx, r8d
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x60b80a52
mov ecx, 0x1f90b1ea
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov dword [rbp - 0x1c], 0x89d3281
jmp 0x140003db5
mov eax, dword [rbp + 0xc4]
mov dword [rbp + 0x98], eax
mov dword [rbp - 0x1c], 0x986d627f
jmp 0x140003db5
mov eax, dword [rbp + 0x98]
cmp eax, 0
seta al
and al, 1
mov byte [rbp + 0x9f], al
mov dword [rbp - 0x1c], 0xf2754a1f
jmp 0x140003db5
mov dl, byte [rbp + 0x9f]
mov eax, 0xabf90fc6
mov ecx, 0x13af912f
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov eax, dword [rbp + 0xc4]
mov qword [rbp + 0xa0], rax
mov dword [rbp - 0x1c], 0xd878444b
jmp 0x140003db5
mov eax, dword [0x14009534c]
mov ecx, dword [0x140095348]
mov edx, eax
sub edx, 0xaca058a0
sub edx, 1
add edx, 0xaca058a0
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x81f40b10
mov ecx, 0xda43d5b9
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0xa0]
sub rsp, 0x20
call fcn.140010720
add rsp, 0x20
mov byte [rax], 0
mov rcx, qword [rbp]
mov eax, dword [rbp + 0xc4]
shr eax, 1
mov eax, eax
mov edx, eax
sub rsp, 0x20
call fcn.1400107b0
add rsp, 0x20
mov ecx, dword [0x14009534c]
mov eax, dword [0x140095348]
mov edx, ecx
add edx, 0x9c8dfb38
sub edx, 1
sub edx, 0x9c8dfb38
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete r11b
cmp eax, 0xa
setl r10b
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and r11b, cl
mov r9b, r8b
and r9b, 0xff
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0x81f40b10
mov ecx, 0x569e4b70
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x1c], eax
jmp 0x140003db5
mov dword [rbp - 0x1c], 0x316a2c90
jmp 0x140003db5
mov eax, dword [rbp + 0xc4]
shr eax, 1
mov dword [rbp - 0x5c], eax
mov rcx, qword [rbp]
xor eax, eax
mov edx, eax
sub rsp, 0x20
call fcn.140010b20
add rsp, 0x20
mov qword [rbp - 0x68], rax
mov rcx, qword [rbp + 0x30]
xor eax, eax
mov edx, eax
sub rsp, 0x20
call fcn.140010720
add rsp, 0x20
mov rdx, rax
mov rcx, qword [rbp + 0x48]
sub rsp, 0x20
call fcn.140010da0
mov rdx, qword [rbp - 0x68]
mov r8d, dword [rbp - 0x5c]
add rsp, 0x20
mov rcx, qword [rbp + 0x48]
sub rsp, 0x20
call fcn.140001dd0
add rsp, 0x20
mov rcx, qword [rbp + 0x48]
sub rsp, 0x20
call fcn.140010fb0
add rsp, 0x20
mov dword [rbp - 0x1c], 0xabf90fc6
jmp 0x140003db5
mov dword [rbp - 0x1c], 0x89d3281
jmp 0x140003db5
mov rcx, qword [rbp - 0x18]
sub rsp, 0x20
call qword [sym.imp.WININET.dll_InternetCloseHandle]
add rsp, 0x20
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0xa8], rax
mov dword [rbp - 0x1c], 0xcd906f74
jmp 0x140003db5
mov rcx, qword [rbp + 0xa8]
sub rsp, 0x20
call qword [sym.imp.WININET.dll_InternetCloseHandle]
add rsp, 0x20
mov eax, dword [rbp + 0xc4]
mov dword [rbp + 0xb4], eax
mov dword [rbp - 0x1c], 0xecdc4f4e
jmp 0x140003db5
mov eax, dword [rbp + 0xb4]
shr eax, 1
mov eax, eax
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x30]
sub rsp, 0x20
call fcn.140011150
add rsp, 0x20
mov dword [rbp - 0x1c], 0x91c66628
jmp 0x140003db5
mov rax, qword [rbp + 8]
mov qword [rbp + 0xb8], rax
mov dword [rbp - 0x1c], 0x7fb69b46
jmp 0x140003db5
mov rax, qword [rbp + 0xb8]
mov qword [rbp - 0x70], rax
mov rcx, qword [rbp + 0xc8]
xor rcx, rbp
sub rsp, 0x20
call fcn.14005d400
mov rax, qword [rbp - 0x70]
lea rsp, [rbp + 0xd0]
pop rbp
ret
mov rcx, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x30]
mov eax, 0x10
call fcn.14005d3a0
sub rsp, rax
mov rax, rsp
mov qword [rbp], rdx
mov qword [rbp - 8], rcx
mov rcx, qword [rbp + 0x10]
mov dword [rcx], 0
mov rcx, qword [rbp + 0x18]
mov dword [rcx], 0
mov rcx, qword [rbp + 0x20]
mov dword [rcx], 0
mov dword [rax], 4
lea rcx, str.User_Agent
mov edx, 1
xor eax, eax
mov r9d, eax
xor eax, eax
sub rsp, 0x30
mov r8, r9
mov dword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_InternetOpenA]
add rsp, 0x30
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x1c], 0x9662b8d0
jmp 0x140003db5
lea rcx, [0x140093900]
lea rdx, str.InternetOpen_failed._Error:
sub rsp, 0x20
call fcn.14000d9e0
add rsp, 0x20
mov dword [rbp - 0x1c], 0x1b72ba42
jmp 0x140003db5
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
mov dword [rbp - 0x1c], 0x6bd25d4a
jmp 0x140003db5
mov rcx, qword [rbp + 0x58]
mov edx, dword [rbp + 0x60]
sub rsp, 0x20
call fcn.14000f5a0
add rsp, 0x20
mov rcx, rax
lea rdx, [0x14000fd80]
sub rsp, 0x20
call fcn.14000fd00
add rsp, 0x20
mov qword [rbp + 8], 0
mov dword [rbp - 0x1c], 0xdad20ac9
jmp 0x140003db5
mov rdx, qword [rbp - 8]
mov rcx, qword [rbp - 0x10]
xor eax, eax
mov r8d, eax
xor r9d, r9d
sub rsp, 0x30
mov dword [rsp + 0x20], 0x80000000
mov qword [rsp + 0x28], 0
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
add rsp, 0x30
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x1c], 0x89c3433a
jmp 0x140003db5
mov dword [rbp - 0x1c], 0xf94d7a04
jmp 0x140003db5
mov rcx, qword [rbp - 0x18]
mov r8d, dword [rbp + 0x7c]
mov rdx, qword [rbp + 0x80]
lea r9, [rbp + 0xc4]
sub rsp, 0x20
call qword [sym.imp.WININET.dll_InternetReadFile]
add rsp, 0x20
mov dword [rbp - 0x1c], 0x6738af2d
jmp 0x140003db5
mov dword [rbp - 0x1c], 0x9afaa3f2
jmp 0x140003db5
lea rcx, [0x140093900]
lea rdx, str.InternetReadFile_failed._Error:
sub rsp, 0x20
call fcn.14000d9e0
add rsp, 0x20
mov qword [rbp - 0x78], rax
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x78]
add rsp, 0x20
mov edx, eax
sub rsp, 0x20
call fcn.14000f5a0
add rsp, 0x20
mov dword [rbp - 0x1c], 0xa394ad3a
jmp 0x140003db5
mov dword [rbp - 0x1c], 0xbea82d07
jmp 0x140003db5
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0xa0]
sub rsp, 0x20
call fcn.140010720
add rsp, 0x20
mov byte [rax], 0
mov rcx, qword [rbp]
mov eax, dword [rbp + 0xc4]
shr eax, 1
mov eax, eax
mov edx, eax
sub rsp, 0x20
call fcn.1400107b0
add rsp, 0x20
mov dword [rbp - 0x1c], 0xda43d5b9
jmp 0x1400027d0