Function at 0x4bfda0
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push rbp
push rsi
push rbx
mov eax, 0xe90
sub rax, 0x1000
mov byte [rsp + rax], al
cmp rax, 0xfffffffffffdfe90
ja 0x4bfda9
sub rsp, 0x20170
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x20130], 0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0x78], rbp
mov qword [rbp + 0x20190], rcx
nop
nop
mov qword [rbp + 0x20158], 0
mov qword [rbp + 0x20150], 0
mov qword [rbp + 0x20148], 0
mov byte [rbp + 0x20147], 0
nop
mov rax, qword [rbp + 0x20190]
mov byte [rax + 0x81], 0
mov rcx, rbp
mov rax, qword [rbp + 0x20190]
mov rdx, qword [rax + 0x58]
lea r8, [rbp + 0x20130]
lea r9, [rbp + 0xc8]
call fcn.004bfb60
mov byte [rbp + 0xd6], 0
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
cmp qword [rax + 0x20], 0
je 0x4bffdc
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
lea rcx, [rbp + 0xd8]
mov rdx, qword [rax + 0x20]
call fcn.0040b0b0
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
cmp qword [rax + 0x28], 0
je 0x4bff0e
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
lea rcx, [rbp + 0xd8]
mov edx, 3
mov r8, qword [rbp + 0xd8]
lea r9, [0x004c1098]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], rax
call fcn.0040c500
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x50], 0
je 0x4bff60
mov rax, qword [rbp + 0x20190]
mov rcx, qword [rax + 0x50]
call fcn.0040bfb0
mov rbx, rax
mov rcx, qword [rbp + 0xd8]
call fcn.0040bfb0
mov rcx, rbx
mov edx, 3
mov r8, rax
xor r9, r9
mov dword [rsp + 0x20], 0
call sub.wininet.dll_InternetOpenW
mov qword [rbp + 0x20148], rax
jmp 0x4bff8f
mov rcx, qword [rbp + 0xd8]
call fcn.0040bfb0
xor rcx, rcx
mov edx, 3
mov r8, rax
xor r9, r9
mov dword [rsp + 0x20], 0
call sub.wininet.dll_InternetOpenW
mov qword [rbp + 0x20148], rax
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
mov rax, qword [rax + 0x30]
mov qword [rbp + 0xb8], rax
mov dword [rbp + 0xb4], 0
cmp qword [rbp + 0xb8], 0
je 0x4bffca
mov rax, qword [rbp + 0xb8]
mov eax, dword [rax - 4]
mov dword [rbp + 0xb4], eax
cmp dword [rbp + 0xb4], 0
setne al
mov byte [rbp + 0xd6], al
jmp 0x4c003c
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x50], 0
je 0x4c001c
mov rax, qword [rbp + 0x20190]
mov rcx, qword [rax + 0x50]
call fcn.0040bfb0
mov rcx, rax
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
call sub.wininet.dll_InternetOpenW
mov qword [rbp + 0x20148], rax
jmp 0x4c003c
xor rcx, rcx
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
call sub.wininet.dll_InternetOpenW
mov qword [rbp + 0x20148], rax
cmp qword [rbp + 0x20148], 0
jne 0x4c0065
mov rax, qword [rbp + 0x20190]
mov dword [rax + 0x68], 1
xor rcx, rcx
mov rdx, qword [rbp + 0x78]
call fcn.004c0e40
jmp 0x4c0d3a
mov rcx, qword [rbp + 0x20130]
call fcn.0040bfb0
mov rbx, rax
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
mov rcx, qword [rax + 8]
call fcn.0040bfb0
mov rsi, rax
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
mov rcx, qword [rax + 0x10]
call fcn.0040bfb0
mov rcx, qword [rbp + 0x20148]
mov rdx, rbx
movzx r8, word [rbp + 0x2016c]
mov r9, rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.wininet.dll_InternetConnectW
mov qword [rbp + 0x20150], rax
cmp qword [rbp + 0x20150], 0
jne 0x4c0109
mov rax, qword [rbp + 0x20190]
mov dword [rax + 0x68], 2
xor rcx, rcx
mov rdx, qword [rbp + 0x78]
call fcn.004c0e40
jmp 0x4c0d3a
cmp byte [rbp + 0xd6], 0
je 0x4c0204
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
mov rax, qword [rax + 0x30]
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xa4], 0
cmp qword [rbp + 0xa8], 0
je 0x4c0151
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax - 4]
mov dword [rbp + 0xa4], eax
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
mov rcx, qword [rax + 0x30]
call fcn.0040bfb0
mov rcx, qword [rbp + 0x20150]
mov edx, 0x2b
mov r8, rax
mov r9d, dword [rbp + 0xa4]
add r9d, 1
call sub.wininet.dll_InternetSetOptionW
test eax, eax
setne al
test al, al
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
mov rax, qword [rax + 0x38]
mov qword [rbp + 0x98], rax
mov dword [rbp + 0x94], 0
cmp qword [rbp + 0x98], 0
je 0x4c01c8
mov rax, qword [rbp + 0x98]
mov eax, dword [rax - 4]
mov dword [rbp + 0x94], eax
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
mov rcx, qword [rax + 0x38]
call fcn.0040bfb0
mov rcx, qword [rbp + 0x20150]
mov edx, 0x2c
mov r8, rax
mov r9d, dword [rbp + 0x94]
add r9d, 1
call sub.wininet.dll_InternetSetOptionW
test eax, eax
setne al
test al, al
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x70], 0
jne 0x4c0222
lea rax, [0x004c109c]
mov qword [rbp + 0x110], rax
jmp 0x4c0230
lea rax, [0x004c10a4]
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x20190]
movzx rcx, byte [rax + 0x98]
cmp cl, 7
ja 0x4c0257
mov al, 1
shl eax, cl
movzx rcx, byte [0x004c10ae]
test al, cl
setne al
jmp 0x4c025a
xor rax, rax
test al, al
je 0x4c026c
lea rax, [0x004c10b0]
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x20190]
cmp byte [rax + 0x99], 0
je 0x4c0288
mov dword [rbp + 0x10c], 0
jmp 0x4c0292
mov dword [rbp + 0x10c], 0x80000000
cmp dword [rbp + 0x2016c], 0x1bb
jne 0x4c02a8
or dword [rbp + 0x10c], 0x800000
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
cmp byte [rax + 0x48], 0
je 0x4c02c4
or dword [rbp + 0x10c], 0x80000
lea rcx, [rbp + 0x100]
mov edx, 3
mov rax, qword [rbp + 0x20190]
mov r8, qword [rax + 0x48]
lea r9, [0x004c10c8]
lea rax, [0x004c10c8]
mov qword [rsp + 0x20], rax
call fcn.0040c500
lea rcx, [rbp + 0x100]
call fcn.0040b320
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], 0
mov rcx, qword [rbp + 0xc8]
call fcn.0040bfb0
mov rbx, rax
mov rax, qword [rbp + 0x20190]
mov rcx, qword [rax + 0x78]
call fcn.0040bfb0
mov rcx, qword [rbp + 0x20150]
mov rdx, qword [rbp + 0x110]
mov r8, rbx
lea r9, [0x004c10ce]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x10c]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], 0
call sub.wininet.dll_HttpOpenRequestW
mov qword [rbp + 0x20158], rax
cmp qword [rbp + 0x20158], 0
jne 0x4c041c
lea rax, [0x004c109c]
mov qword [rbp + 0x110], rax
mov rcx, qword [rbp + 0xc8]
call fcn.0040bfb0
mov rbx, rax
mov rax, qword [rbp + 0x20190]
mov rcx, qword [rax + 0x78]
call fcn.0040bfb0
mov rsi, rax
lea rcx, [rbp + 0x100]
call fcn.0040b320
mov rcx, qword [rbp + 0x20150]
mov rdx, qword [rbp + 0x110]
mov r8, rbx
lea r9, [0x004c10ce]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x10c]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], 0
call sub.wininet.dll_HttpOpenRequestW
mov qword [rbp + 0x20158], rax
cmp qword [rbp + 0x20158], 0
jne 0x4c041c
mov rax, qword [rbp + 0x20190]
mov dword [rax + 0x68], 3
mov rcx, qword [rbp + 0x20190]
call fcn.004bfa40
movzx rax, byte [rax + 0x18]
mov byte [rbp + 0xd5], al
cmp byte [rbp + 0xd5], 0
je 0x4c0527
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
je 0x4c0527
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x20190]
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 8]
mov rdx, rax
call fcn.0045ed60
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x60]
mov qword [rbp + 0x68], rax
mov byte [rbp + 0x70], 0x10
lea rcx, [rbp + 0x118]
lea rdx, [0x004c10ec]
lea r8, [rbp + 0x68]
xor r9, r9
call fcn.00428b00
mov dword [rbp + 0x90], 0
cmp qword [rbp + 0x118], 0
je 0x4c04f3
mov rax, qword [rbp + 0x118]
mov eax, dword [rax - 4]
mov dword [rbp + 0x90], eax
mov rcx, qword [rbp + 0x118]
call fcn.0040bfb0
mov rcx, qword [rbp + 0x20158]
mov rdx, rax
mov r8d, dword [rbp + 0x90]
mov r9d, 0x20000000
call sub.wininet.dll_HttpAddRequestHeadersW
test eax, eax
setne al
mov byte [rbp + 0xd5], al
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x70], 0
jne 0x4c057e
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x38], 0
jne 0x4c057e
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x40], 0
jne 0x4c057e
mov rcx, qword [rbp + 0x20158]
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
call sub.wininet.dll_HttpSendRequestW
test eax, eax
setne al
mov byte [rbp + 0xd7], al
jmp 0x4c06a3
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x40], 0
jne 0x4c05a1
lea rcx, [rbp + 0xe8]
lea rdx, [0x004c111c]
call fcn.0040b0b0
jmp 0x4c05b8
lea rcx, [rbp + 0xe8]
mov rax, qword [rbp + 0x20190]
mov rdx, qword [rax + 0x40]
call fcn.0040b0b0
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x38], 0
je 0x4c05f6
lea rcx, [rbp + 0xe8]
mov edx, 3
mov r8, qword [rbp + 0xe8]
lea r9, [0x004c1188]
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x20], rax
call fcn.0040c500
mov dword [rbp + 0x8c], 0
cmp qword [rbp + 0xe8], 0
je 0x4c061a
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax - 4]
mov dword [rbp + 0x8c], eax
mov dword [rbp + 0x88], 0
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x70], 0
je 0x4c0646
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x70]
mov eax, dword [rax - 4]
mov dword [rbp + 0x88], eax
mov rcx, qword [rbp + 0xe8]
call fcn.0040bfb0
mov rbx, rax
lea rcx, [rbp + 0x58]
mov rax, qword [rbp + 0x20190]
mov rdx, qword [rax + 0x70]
xor r8, r8
call fcn.0040b8c0
mov rcx, qword [rbp + 0x58]
call fcn.0040b7c0
mov rcx, qword [rbp + 0x20158]
mov rdx, rbx
mov r8d, dword [rbp + 0x8c]
mov r9, rax
mov eax, dword [rbp + 0x88]
mov dword [rsp + 0x20], eax
call sub.wininet.dll_HttpSendRequestW
test eax, eax
setne al
mov byte [rbp + 0xd7], al
cmp byte [rbp + 0xd7], 0
jne 0x4c06cb
mov rax, qword [rbp + 0x20190]
mov dword [rax + 0x68], 4
xor rcx, rcx
mov rdx, qword [rbp + 0x78]
call fcn.004c0e40
jmp 0x4c0d3a
mov dword [rbp + 0x20128], 0
mov dword [rbp + 0x2012c], pe_nt_image_headers64
mov ecx, dword [rbp + 0x2012c]
call fcn.00405970
mov qword [rbp + 0x20160], rax
nop
mov rcx, qword [rbp + 0x20158]
mov edx, 0x13
mov r8, qword [rbp + 0x20160]
lea r9, [rbp + 0x2012c]
lea rax, [rbp + 0x20128]
mov qword [rsp + 0x20], rax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
setne al
mov byte [rbp + 0xd7], al
cmp byte [rbp + 0xd7], 0
je 0x4c0758
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x20160]
call fcn.0040c030
mov rcx, qword [rbp + 0x50]
xor rdx, rdx
call fcn.00426b20
mov rcx, qword [rbp + 0x20190]
mov dword [rcx + 0x6c], eax
mov dword [rbp + 0x20128], 0
mov dword [rbp + 0x2012c], pe_nt_image_headers64
mov rcx, qword [rbp + 0x20158]
mov edx, 1
mov r8, qword [rbp + 0x20160]
lea r9, [rbp + 0x2012c]
lea rax, [rbp + 0x20128]
mov qword [rsp + 0x20], rax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
setne al
mov byte [rbp + 0xd7], al
cmp byte [rbp + 0xd7], 0
je 0x4c07c3
mov rcx, qword [rbp + 0x20190]
add rcx, 8
mov rdx, qword [rbp + 0x20160]
call fcn.0040c030
mov dword [rbp + 0x20128], 0
mov dword [rbp + 0x2012c], pe_nt_image_headers64
mov rcx, qword [rbp + 0x20158]
mov edx, 5
mov r8, qword [rbp + 0x20160]
lea r9, [rbp + 0x2012c]
lea rax, [rbp + 0x20128]
mov qword [rsp + 0x20], rax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
setne al
mov byte [rbp + 0xd7], al
cmp byte [rbp + 0xd7], 0
jne 0x4c0823
mov dword [rbp + 0x2013c], 0
jmp 0x4c0845
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x20160]
call fcn.0040c030
mov rcx, qword [rbp + 0x48]
xor rdx, rdx
call fcn.00426b20
mov dword [rbp + 0x2013c], eax
mov rax, qword [rbp + 0x20190]
mov ecx, dword [rbp + 0x2013c]
mov dword [rax + 0x9c], ecx
nop
mov rcx, qword [rbp + 0x20160]
call fcn.004059a0
mov rax, qword [rbp + 0x20190]
cmp byte [rax + 0x98], 0
je 0x4c0982
mov byte [rbp + 0x20147], 1
mov rax, qword [rbp + 0x20190]
movzx rcx, byte [rax + 0x98]
cmp cl, 7
ja 0x4c08a7
mov al, 1
shl eax, cl
movzx rcx, byte [0x004c118e]
test al, cl
setne al
jmp 0x4c08aa
xor rax, rax
test al, al
je 0x4c0961
mov dword [rbp + 0x20128], 0
mov dword [rbp + 0x2012c], 0x8000
mov ecx, dword [rbp + 0x2012c]
call fcn.00405970
mov qword [rbp + 0x20160], rax
nop
mov rcx, qword [rbp + 0x20158]
mov edx, 0x16
mov r8, qword [rbp + 0x20160]
lea r9, [rbp + 0x2012c]
lea rax, [rbp + 0x20128]
mov qword [rsp + 0x20], rax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
setne al
mov byte [rbp + 0xd7], al
cmp byte [rbp + 0xd7], 0
je 0x4c092c
lea rcx, [rbp + 0x118]
mov rdx, qword [rbp + 0x20160]
call fcn.0040c030
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x60]
mov rcx, rax
mov rdx, qword [rbp + 0x118]
mov rax, qword [rax]
call qword [rax]
nop
mov rcx, qword [rbp + 0x20160]
call fcn.004059a0
movzx rax, byte [rbp + 0xd7]
mov byte [rbp + 0x20147], al
mov rax, qword [rbp + 0x20190]
cmp byte [rax + 0x98], 3
je 0x4c0982
xor rcx, rcx
mov rdx, qword [rbp + 0x78]
call fcn.004c0e40
jmp 0x4c0d3a
mov rax, qword [rbp + 0x20190]
cmp dword [rax + 0x6c], 0xc8
jb 0x4c09a2
mov rax, qword [rbp + 0x20190]
cmp dword [rax + 0x6c], 0x12c
jbe 0x4c09c7
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x90]
cmp byte [rax + 0x40], 0
jne 0x4c09c7
xor rcx, rcx
mov rdx, qword [rbp + 0x78]
call fcn.004c0e40
jmp 0x4c0d3a
mov dword [rbp + 0x20128], 0
mov dword [rbp + 0x2012c], 0x10000
mov ecx, dword [rbp + 0x2012c]
call fcn.00405970
mov qword [rbp + 0x20160], rax
mov dword [rbp + 0xe4], 0x20002
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x90]
cmp dword [rax + 0x44], 0
jle 0x4c0a3b
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x90]
mov eax, dword [rax + 0x44]
cmp eax, dword [rbp + 0xe4]
jge 0x4c0a3b
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x90]
mov eax, dword [rax + 0x44]
mov dword [rbp + 0xe4], eax
nop
mov rcx, qword [rbp + 0x20158]
mov edx, 5
mov r8, qword [rbp + 0x20160]
lea r9, [rbp + 0x2012c]
lea rax, [rbp + 0x20128]
mov qword [rsp + 0x20], rax
call sub.wininet.dll_HttpQueryInfoW
test eax, eax
setne al
mov byte [rbp + 0xd7], al
cmp byte [rbp + 0xd7], 0
jne 0x4c0a88
mov dword [rbp + 0x2013c], 0
jmp 0x4c0aaa
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x20160]
call fcn.0040c030
mov rcx, qword [rbp + 0x40]
xor rdx, rdx
call fcn.00426b20
mov dword [rbp + 0x2013c], eax
mov rax, qword [rbp + 0x20190]
mov ecx, dword [rbp + 0x2013c]
mov dword [rax + 0x9c], ecx
cmp dword [rbp + 0x2013c], 0
jne 0x4c0ad6
cmp byte [rbp + 0xd5], 0
je 0x4c0ad6
mov byte [rbp + 0xd5], 0
mov rax, qword [rbp + 0x20190]
cmp byte [rax + 0x98], 3
je 0x4c0b06
cmp byte [rbp + 0xd5], 0
jne 0x4c0b06
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 8]
xor rdx, rdx
call fcn.0045ede0
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov dword [rbp + 0x20140], eax
mov eax, dword [rbp + 0x20140]
add dword [rbp + 0x2013c], eax
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x10], 0
je 0x4c0c01
mov rbx, qword [rbp + 0x20190]
add rbx, 0x10
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x20190]
mov r8d, dword [rbp + 0x20140]
mov r9d, dword [rbp + 0x2013c]
call qword [rbx]
jmp 0x4c0c01
mov rcx, qword [rbp + 0x20158]
lea rdx, [rbp + 0x126]
mov r8d, dword [rbp + 0xe4]
lea r9, [rbp + 0xc4]
call sub.wininet.dll_InternetReadFile
test eax, eax
setne al
test al, al
je 0x4c0c15
cmp dword [rbp + 0xc4], 0
je 0x4c0c15
mov rax, qword [rbp + 0x20190]
mov rax, qword [rax + 0x60]
mov rcx, rax
lea rdx, [rbp + 0x126]
mov r8d, dword [rbp + 0xc4]
mov rax, qword [rax]
call qword [rax + 0x40]
mov eax, dword [rbp + 0xc4]
add dword [rbp + 0x20140], eax
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x10], 0
je 0x4c0c01
mov rbx, qword [rbp + 0x20190]
add rbx, 0x10
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x20190]
mov r8d, dword [rbp + 0x20140]
mov r9d, dword [rbp + 0x2013c]
call qword [rbx]
mov rax, qword [rbp + 0x20190]
cmp byte [rax + 0x80], 0
je 0x4c0b6c
nop
mov rax, qword [rbp + 0x20190]
cmp byte [rax + 0x80], 0
je 0x4c0c43
xor rcx, rcx
mov rdx, qword [rbp + 0x78]
call fcn.004c0e10
xor rcx, rcx
mov rdx, qword [rbp + 0x78]
call fcn.004c0e40
jmp 0x4c0d3a
cmp dword [rbp + 0x2013c], 0
jne 0x4c0c55
mov byte [rbp + 0x20147], 1
jmp 0x4c0c6e
movsxd rax, dword [rbp + 0x20140]
mov ecx, dword [rbp + 0x2013c]
cmp rax, rcx
sete al
mov byte [rbp + 0x20147], al
nop
mov rcx, qword [rbp + 0x20160]
call fcn.004059a0
nop
cmp qword [rbp + 0x20158], 0
je 0x4c0c92
mov rcx, qword [rbp + 0x20158]
call sub.wininet.dll_InternetCloseHandle
cmp qword [rbp + 0x20150], 0
je 0x4c0ca8
mov rcx, qword [rbp + 0x20150]
call sub.wininet.dll_InternetCloseHandle
cmp qword [rbp + 0x20148], 0
je 0x4c0cbe
mov rcx, qword [rbp + 0x20148]
call sub.wininet.dll_InternetCloseHandle
cmp byte [rbp + 0x20147], 0
je 0x4c0cfb
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x10], 0
je 0x4c0cfb
mov rbx, qword [rbp + 0x20190]
add rbx, 0x10
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x20190]
mov r8d, dword [rbp + 0x20140]
mov r9d, dword [rbp + 0x2013c]
call qword [rbx]
mov rax, qword [rbp + 0x20190]
cmp qword [rax + 0x20], 0
je 0x4c0d21
mov rbx, qword [rbp + 0x20190]
add rbx, 0x20
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x20190]
call qword [rbx]
mov rax, qword [rbp + 0x20190]
mov byte [rax + 0x81], 1
jmp 0x4c0d39
nop
lea rcx, [rbp + 0x40]
mov edx, 3
call fcn.0040aac0
lea rcx, [rbp + 0x58]
call fcn.0040aa30
lea rcx, [rbp + 0xc8]
call fcn.0040a9e0
lea rcx, [rbp + 0xd8]
call fcn.0040a9e0
lea rcx, [rbp + 0xe8]
call fcn.0040a9e0
lea rcx, [rbp + 0x100]
call fcn.0040a9e0
lea rcx, [rbp + 0x118]
call fcn.0040a9e0
lea rcx, [rbp + 0x20130]
call fcn.0040a9e0
movzx rax, byte [rbp + 0x20147]
lea rsp, [rbp + 0x20170]
pop rbx
pop rsi
pop rbp
ret