Function at 0x52c520
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, 0xfffffffffffefe90
ja 0x52c529
sub rsp, 0x10170
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 + 0x10130], 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 + 0x10190], rcx
nop
nop
mov qword [rbp + 0x10158], 0
mov qword [rbp + 0x10150], 0
mov qword [rbp + 0x10148], 0
mov byte [rbp + 0x10147], 0
nop
mov rax, qword [rbp + 0x10190]
mov byte [rax + 0x81], 0
mov rcx, rbp
mov rax, qword [rbp + 0x10190]
mov rdx, qword [rax + 0x58]
lea r8, [rbp + 0x10130]
lea r9, [rbp + 0xc8]
call fcn.0052c2d0
mov byte [rbp + 0xd6], 0
mov rcx, qword [rbp + 0x10190]
call fcn.0052c200
cmp qword [rax + 0x20], 0
je 0x52c75c
mov rcx, qword [rbp + 0x10190]
call fcn.0052c200
lea rcx, [rbp + 0xd8]
mov rdx, qword [rax + 0x20]
call fcn.0040b220
mov rcx, qword [rbp + 0x10190]
call fcn.0052c200
cmp qword [rax + 0x28], 0
je 0x52c68e
mov rcx, qword [rbp + 0x10190]
call fcn.0052c200
lea rcx, [rbp + 0xd8]
mov edx, 3
mov r8, qword [rbp + 0xd8]
lea r9, [0x0052d838]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], rax
call fcn.0040c710
mov rax, qword [rbp + 0x10190]
cmp qword [rax + 0x50], 0
je 0x52c6e0
mov rax, qword [rbp + 0x10190]
mov rcx, qword [rax + 0x50]
call fcn.0040c190
mov rbx, rax
mov rcx, qword [rbp + 0xd8]
call fcn.0040c190
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 + 0x10148], rax
jmp 0x52c70f
mov rcx, qword [rbp + 0xd8]
call fcn.0040c190
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 + 0x10148], rax
mov rcx, qword [rbp + 0x10190]
call fcn.0052c200
mov rax, qword [rax + 0x30]
mov qword [rbp + 0xb8], rax
mov dword [rbp + 0xb4], 0
cmp qword [rbp + 0xb8], 0
je 0x52c74a
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 0x52c7bc
mov rax, qword [rbp + 0x10190]
cmp qword [rax + 0x50], 0
je 0x52c79c
mov rax, qword [rbp + 0x10190]
mov rcx, qword [rax + 0x50]
call fcn.0040c190
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 + 0x10148], rax
jmp 0x52c7bc
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 + 0x10148], rax
cmp qword [rbp + 0x10148], 0
jne 0x52c7e9
mov rax, qword [rbp + 0x10190]
mov dword [rax + 0x68], 1
mov rcx, qword [rbp + 0x78]
lea rdx, [0x0052d4c6]
call fcn.00409e70
jmp 0x52d4c6
mov rcx, qword [rbp + 0x10130]
call fcn.0040c190
mov rbx, rax
mov rcx, qword [rbp + 0x10190]
call fcn.0052c200
mov rcx, qword [rax + 8]
call fcn.0040c190
mov rsi, rax
mov rcx, qword [rbp + 0x10190]
call fcn.0052c200
mov rcx, qword [rax + 0x10]
call fcn.0040c190
mov rcx, qword [rbp + 0x10148]
mov rdx, rbx
movzx r8, word [rbp + 0x1016c]
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 + 0x10150], rax
cmp qword [rbp + 0x10150], 0
jne 0x52c891
mov rax, qword [rbp + 0x10190]
mov dword [rax + 0x68], 2
mov rcx, qword [rbp + 0x78]
lea rdx, [0x0052d4c6]
call fcn.00409e70
jmp 0x52d4c6
cmp byte [rbp + 0xd6], 0
je 0x52c98c
mov rcx, qword [rbp + 0x10190]
call fcn.0052c200
mov rax, qword [rax + 0x30]
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xa4], 0
cmp qword [rbp + 0xa8], 0
je 0x52c8d9
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax - 4]
mov dword [rbp + 0xa4], eax
mov rcx, qword [rbp + 0x10190]
call fcn.0052c200
mov rcx, qword [rax + 0x30]
call fcn.0040c190
mov rcx, qword [rbp + 0x10150]
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 + 0x10190]
call fcn.0052c200
mov rax, qword [rax + 0x38]
mov qword [rbp + 0x98], rax
mov dword [rbp + 0x94], 0
cmp qword [rbp + 0x98], 0
je 0x52c950
mov rax, qword [rbp + 0x98]
mov eax, dword [rax - 4]
mov dword [rbp + 0x94], eax
mov rcx, qword [rbp + 0x10190]
call fcn.0052c200
mov rcx, qword [rax + 0x38]
call fcn.0040c190
mov rcx, qword [rbp + 0x10150]
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 + 0x10190]
cmp qword [rax + 0x70], 0
jne 0x52c9aa
lea rax, [0x0052d83c]
mov qword [rbp + 0x110], rax
jmp 0x52c9b8
lea rax, [0x0052d844]
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x10190]
movzx rcx, byte [rax + 0x98]
cmp cl, 7
ja 0x52c9df
mov al, 1
shl eax, cl
movzx rcx, byte [0x0052d84e]
test al, cl
setne al
jmp 0x52c9e2
xor rax, rax
test al, al
je 0x52c9f4
lea rax, [0x0052d850]
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x10190]
cmp byte [rax + 0x99], 0
je 0x52ca10
mov dword [rbp + 0x10c], 0
jmp 0x52ca1a
mov dword [rbp + 0x10c], 0x80000000
cmp dword [rbp + 0x1016c], 0x1bb
jne 0x52ca30
or dword [rbp + 0x10c], 0x800000
mov rcx, qword [rbp + 0x10190]
call fcn.0052c200
cmp byte [rax + 0x48], 0
je 0x52ca4c
or dword [rbp + 0x10c], 0x80000
lea rcx, [rbp + 0x100]
mov edx, 3
mov rax, qword [rbp + 0x10190]
mov r8, qword [rax + 0x48]
lea r9, [0x0052d868]
lea rax, [0x0052d868]
mov qword [rsp + 0x20], rax
call fcn.0040c710
lea rcx, [rbp + 0x100]
call fcn.0040b440
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], 0
mov rcx, qword [rbp + 0xc8]
call fcn.0040c190
mov rbx, rax
mov rax, qword [rbp + 0x10190]
mov rcx, qword [rax + 0x78]
call fcn.0040c190
mov rcx, qword [rbp + 0x10150]
mov rdx, qword [rbp + 0x110]
mov r8, rbx
lea r9, [0x0052d86e]
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 + 0x10158], rax
cmp qword [rbp + 0x10158], 0
jne 0x52cba4
lea rax, [0x0052d83c]
mov qword [rbp + 0x110], rax
mov rcx, qword [rbp + 0xc8]
call fcn.0040c190
mov rbx, rax
mov rax, qword [rbp + 0x10190]
mov rcx, qword [rax + 0x78]
call fcn.0040c190
mov rsi, rax
lea rcx, [rbp + 0x100]
call fcn.0040b440
mov rcx, qword [rbp + 0x10150]
mov rdx, qword [rbp + 0x110]
mov r8, rbx
lea r9, [0x0052d86e]
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 + 0x10158], rax
cmp qword [rbp + 0x10158], 0
jne 0x52cba4
mov rax, qword [rbp + 0x10190]
mov dword [rax + 0x68], 3
mov rcx, qword [rbp + 0x10190]
call fcn.0052c200
movzx rax, byte [rax + 0x18]
mov byte [rbp + 0xd5], al
cmp byte [rbp + 0xd5], 0
je 0x52ccaf
mov rax, qword [rbp + 0x10190]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
test rax, rax
je 0x52ccaf
mov rax, qword [rbp + 0x10190]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x10190]
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 8]
mov rdx, rax
call fcn.004ca3b0
mov rax, qword [rbp + 0x10190]
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, [0x0052d88c]
lea r8, [rbp + 0x68]
xor r9, r9
call fcn.00428a20
mov dword [rbp + 0x90], 0
cmp qword [rbp + 0x118], 0
je 0x52cc7b
mov rax, qword [rbp + 0x118]
mov eax, dword [rax - 4]
mov dword [rbp + 0x90], eax
mov rcx, qword [rbp + 0x118]
call fcn.0040c190
mov rcx, qword [rbp + 0x10158]
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 + 0x10190]
cmp qword [rax + 0x70], 0
jne 0x52cd06
mov rax, qword [rbp + 0x10190]
cmp qword [rax + 0x38], 0
jne 0x52cd06
mov rax, qword [rbp + 0x10190]
cmp qword [rax + 0x40], 0
jne 0x52cd06
mov rcx, qword [rbp + 0x10158]
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 0x52ce2b
mov rax, qword [rbp + 0x10190]
cmp qword [rax + 0x40], 0
jne 0x52cd29
lea rcx, [rbp + 0xe8]
lea rdx, [0x0052d8bc]
call fcn.0040b220
jmp 0x52cd40
lea rcx, [rbp + 0xe8]
mov rax, qword [rbp + 0x10190]
mov rdx, qword [rax + 0x40]
call fcn.0040b220
mov rax, qword [rbp + 0x10190]
cmp qword [rax + 0x38], 0
je 0x52cd7e
lea rcx, [rbp + 0xe8]
mov edx, 3
mov r8, qword [rbp + 0xe8]
lea r9, [0x0052d928]
mov rax, qword [rbp + 0x10190]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x20], rax
call fcn.0040c710
mov dword [rbp + 0x8c], 0
cmp qword [rbp + 0xe8], 0
je 0x52cda2
mov rax, qword [rbp + 0xe8]
mov eax, dword [rax - 4]
mov dword [rbp + 0x8c], eax
mov dword [rbp + 0x88], 0
mov rax, qword [rbp + 0x10190]
cmp qword [rax + 0x70], 0
je 0x52cdce
mov rax, qword [rbp + 0x10190]
mov rax, qword [rax + 0x70]
mov eax, dword [rax - 4]
mov dword [rbp + 0x88], eax
mov rcx, qword [rbp + 0xe8]
call fcn.0040c190
mov rbx, rax
lea rcx, [rbp + 0x58]
mov rax, qword [rbp + 0x10190]
mov rdx, qword [rax + 0x70]
xor r8, r8
call fcn.0040bcc0
mov rcx, qword [rbp + 0x58]
call fcn.0040bb40
mov rcx, qword [rbp + 0x10158]
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 0x52ce57
mov rax, qword [rbp + 0x10190]
mov dword [rax + 0x68], 4
mov rcx, qword [rbp + 0x78]
lea rdx, [0x0052d4c6]
call fcn.00409e70
jmp 0x52d4c6
mov dword [rbp + 0x10128], 0
mov dword [rbp + 0x1012c], pe_nt_image_headers64
mov ecx, dword [rbp + 0x1012c]
call fcn.00405ff0
mov qword [rbp + 0x10160], rax
nop
mov rcx, qword [rbp + 0x10158]
mov edx, 0x13
mov r8, qword [rbp + 0x10160]
lea r9, [rbp + 0x1012c]
lea rax, [rbp + 0x10128]
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 0x52cee4
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x10160]
call fcn.0040c230
mov rcx, qword [rbp + 0x50]
xor rdx, rdx
call fcn.00426ab0
mov rcx, qword [rbp + 0x10190]
mov dword [rcx + 0x6c], eax
mov dword [rbp + 0x10128], 0
mov dword [rbp + 0x1012c], pe_nt_image_headers64
mov rcx, qword [rbp + 0x10158]
mov edx, 1
mov r8, qword [rbp + 0x10160]
lea r9, [rbp + 0x1012c]
lea rax, [rbp + 0x10128]
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 0x52cf4f
mov rax, qword [rbp + 0x10190]
lea rcx, [rax + 8]
mov rdx, qword [rbp + 0x10160]
call fcn.0040c230
mov dword [rbp + 0x10128], 0
mov dword [rbp + 0x1012c], pe_nt_image_headers64
mov rcx, qword [rbp + 0x10158]
mov edx, 5
mov r8, qword [rbp + 0x10160]
lea r9, [rbp + 0x1012c]
lea rax, [rbp + 0x10128]
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 0x52cfaf
mov dword [rbp + 0x1013c], 0
jmp 0x52cfd1
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x10160]
call fcn.0040c230
mov rcx, qword [rbp + 0x48]
xor rdx, rdx
call fcn.00426ab0
mov dword [rbp + 0x1013c], eax
mov rax, qword [rbp + 0x10190]
mov ecx, dword [rbp + 0x1013c]
mov dword [rax + 0x9c], ecx
nop
mov rcx, qword [rbp + 0x10160]
call fcn.00406020
mov rax, qword [rbp + 0x10190]
cmp byte [rax + 0x98], 0
je 0x52d112
mov byte [rbp + 0x10147], 1
mov rax, qword [rbp + 0x10190]
movzx rcx, byte [rax + 0x98]
cmp cl, 7
ja 0x52d033
mov al, 1
shl eax, cl
movzx rcx, byte [0x0052d92e]
test al, cl
setne al
jmp 0x52d036
xor rax, rax
test al, al
je 0x52d0ed
mov dword [rbp + 0x10128], 0
mov dword [rbp + 0x1012c], 0x8000
mov ecx, dword [rbp + 0x1012c]
call fcn.00405ff0
mov qword [rbp + 0x10160], rax
nop
mov rcx, qword [rbp + 0x10158]
mov edx, 0x16
mov r8, qword [rbp + 0x10160]
lea r9, [rbp + 0x1012c]
lea rax, [rbp + 0x10128]
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 0x52d0b8
lea rcx, [rbp + 0x118]
mov rdx, qword [rbp + 0x10160]
call fcn.0040c230
mov rax, qword [rbp + 0x10190]
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 + 0x10160]
call fcn.00406020
movzx rax, byte [rbp + 0xd7]
mov byte [rbp + 0x10147], al
mov rax, qword [rbp + 0x10190]
cmp byte [rax + 0x98], 3
je 0x52d112
mov rcx, qword [rbp + 0x78]
lea rdx, [0x0052d4c6]
call fcn.00409e70
jmp 0x52d4c6
mov rax, qword [rbp + 0x10190]
cmp dword [rax + 0x6c], 0xc8
jb 0x52d132
mov rax, qword [rbp + 0x10190]
cmp dword [rax + 0x6c], 0x12c
jbe 0x52d15b
mov rax, qword [rbp + 0x10190]
mov rax, qword [rax + 0x90]
cmp byte [rax + 0x40], 0
jne 0x52d15b
mov rcx, qword [rbp + 0x78]
lea rdx, [0x0052d4c6]
call fcn.00409e70
jmp 0x52d4c6
mov dword [rbp + 0x10128], 0
mov dword [rbp + 0x1012c], 0x10000
mov ecx, dword [rbp + 0x1012c]
call fcn.00405ff0
mov qword [rbp + 0x10160], rax
mov dword [rbp + 0xe4], 0x10001
mov rax, qword [rbp + 0x10190]
mov rax, qword [rax + 0x90]
cmp dword [rax + 0x44], 0
jle 0x52d1cf
mov rax, qword [rbp + 0x10190]
mov rax, qword [rax + 0x90]
mov eax, dword [rax + 0x44]
cmp eax, dword [rbp + 0xe4]
jge 0x52d1cf
mov rax, qword [rbp + 0x10190]
mov rax, qword [rax + 0x90]
mov eax, dword [rax + 0x44]
mov dword [rbp + 0xe4], eax
nop
mov rcx, qword [rbp + 0x10158]
mov edx, 5
mov r8, qword [rbp + 0x10160]
lea r9, [rbp + 0x1012c]
lea rax, [rbp + 0x10128]
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 0x52d21c
mov dword [rbp + 0x1013c], 0
jmp 0x52d23e
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x10160]
call fcn.0040c230
mov rcx, qword [rbp + 0x40]
xor rdx, rdx
call fcn.00426ab0
mov dword [rbp + 0x1013c], eax
mov rax, qword [rbp + 0x10190]
mov ecx, dword [rbp + 0x1013c]
mov dword [rax + 0x9c], ecx
cmp dword [rbp + 0x1013c], 0
jne 0x52d26a
cmp byte [rbp + 0xd5], 0
je 0x52d26a
mov byte [rbp + 0xd5], 0
mov rax, qword [rbp + 0x10190]
cmp byte [rax + 0x98], 3
je 0x52d29a
cmp byte [rbp + 0xd5], 0
jne 0x52d29a
mov rax, qword [rbp + 0x10190]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 8]
xor rdx, rdx
call fcn.004ca430
mov rax, qword [rbp + 0x10190]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 8]
mov rcx, rax
mov rax, qword [rax]
call qword [rax]
mov dword [rbp + 0x10140], eax
mov eax, dword [rbp + 0x10140]
add dword [rbp + 0x1013c], eax
mov rax, qword [rbp + 0x10190]
cmp qword [rax + 0x10], 0
je 0x52d395
mov rax, qword [rbp + 0x10190]
lea rbx, [rax + 0x10]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x10190]
mov r8d, dword [rbp + 0x10140]
mov r9d, dword [rbp + 0x1013c]
call qword [rbx]
jmp 0x52d395
mov rcx, qword [rbp + 0x10158]
lea rdx, [rbp + 0x127]
mov r8d, dword [rbp + 0xe4]
lea r9, [rbp + 0xc4]
call sub.wininet.dll_InternetReadFile
test eax, eax
setne al
test al, al
je 0x52d3a9
cmp dword [rbp + 0xc4], 0
je 0x52d3a9
mov rax, qword [rbp + 0x10190]
mov rax, qword [rax + 0x60]
mov rcx, rax
lea rdx, [rbp + 0x127]
mov r8d, dword [rbp + 0xc4]
mov rax, qword [rax]
call qword [rax + 0x58]
mov eax, dword [rbp + 0xc4]
add dword [rbp + 0x10140], eax
mov rax, qword [rbp + 0x10190]
cmp qword [rax + 0x10], 0
je 0x52d395
mov rax, qword [rbp + 0x10190]
lea rbx, [rax + 0x10]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x10190]
mov r8d, dword [rbp + 0x10140]
mov r9d, dword [rbp + 0x1013c]
call qword [rbx]
mov rax, qword [rbp + 0x10190]
cmp byte [rax + 0x80], 0
je 0x52d300
nop
mov rax, qword [rbp + 0x10190]
cmp byte [rax + 0x80], 0
je 0x52d3cf
mov rcx, qword [rbp + 0x78]
lea rdx, [0x0052d4c6]
call fcn.00409e70
jmp 0x52d4c6
cmp dword [rbp + 0x1013c], 0
jne 0x52d3e1
mov byte [rbp + 0x10147], 1
jmp 0x52d3fa
movsxd rax, dword [rbp + 0x10140]
mov ecx, dword [rbp + 0x1013c]
cmp rax, rcx
sete al
mov byte [rbp + 0x10147], al
nop
mov rcx, qword [rbp + 0x10160]
call fcn.00406020
nop
cmp qword [rbp + 0x10158], 0
je 0x52d41e
mov rcx, qword [rbp + 0x10158]
call sub.wininet.dll_InternetCloseHandle
cmp qword [rbp + 0x10150], 0
je 0x52d434
mov rcx, qword [rbp + 0x10150]
call sub.wininet.dll_InternetCloseHandle
cmp qword [rbp + 0x10148], 0
je 0x52d44a
mov rcx, qword [rbp + 0x10148]
call sub.wininet.dll_InternetCloseHandle
cmp byte [rbp + 0x10147], 0
je 0x52d487
mov rax, qword [rbp + 0x10190]
cmp qword [rax + 0x10], 0
je 0x52d487
mov rax, qword [rbp + 0x10190]
lea rbx, [rax + 0x10]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x10190]
mov r8d, dword [rbp + 0x10140]
mov r9d, dword [rbp + 0x1013c]
call qword [rbx]
mov rax, qword [rbp + 0x10190]
cmp qword [rax + 0x20], 0
je 0x52d4ad
mov rax, qword [rbp + 0x10190]
lea rbx, [rax + 0x20]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x10190]
call qword [rbx]
mov rax, qword [rbp + 0x10190]
mov byte [rax + 0x81], 1
jmp 0x52d4c5
nop
lea rcx, [rbp + 0x40]
mov edx, 3
call fcn.0040ac50
lea rcx, [rbp + 0x58]
call fcn.0040abc0
lea rcx, [rbp + 0xc8]
call fcn.0040ab70
lea rcx, [rbp + 0xd8]
call fcn.0040ab70
lea rcx, [rbp + 0xe8]
call fcn.0040ab70
lea rcx, [rbp + 0x100]
call fcn.0040ab70
lea rcx, [rbp + 0x118]
call fcn.0040ab70
lea rcx, [rbp + 0x10130]
call fcn.0040ab70
movzx rax, byte [rbp + 0x10147]
lea rsp, [rbp + 0x10170]
pop rbx
pop rsi
pop rbp
ret