Function at 0x1400bee40
Capabilities:
Initialize winhttp library
Make an http request with a cookie
Prepare http request
Read http header
Receive http response
Send data
Send http request
Set http header

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1660
call fcn.1400f7450
sub rsp, rax
mov rax, qword [0x1401e2218]
xor rax, rsp
mov qword [rsp + 0x1650], rax
mov rax, qword [rsp + 0x1670]
add rax, 0x10
mov rcx, rax
call fcn.1400663e0
test rax, rax
ja 0x1400beea1
mov rax, qword [rsp + 0x1670]
mov dword [rax + 0x160], 3
xor al, al
jmp 0x1400c0863
mov rdx, qword [rsp + 0x1678]
lea rcx, [rsp + 0x360]
call fcn.1400975a0
nop
lea rcx, [rsp + 0x360]
call fcn.14009e560
lea rdx, [0x1401c3350]
mov rcx, rax
call fcn.140111120
test eax, eax
jne 0x1400beeed
lea rdx, [0x1401c3350]
lea rcx, [rsp + 0x360]
call fcn.1400b6f00
jmp 0x1400bef51
lea rcx, [rsp + 0x360]
call fcn.14009e560
lea rdx, str.POST
mov rcx, rax
call fcn.140111120
test eax, eax
jne 0x1400bef23
lea rdx, str.POST
lea rcx, [rsp + 0x360]
call fcn.1400b6f00
jmp 0x1400bef51
mov rax, qword [rsp + 0x1670]
mov dword [rax + 0x160], 0x57
mov byte [rsp + 0x58], 0
lea rcx, [rsp + 0x360]
call fcn.14000b110
movzx eax, byte [rsp + 0x58]
jmp 0x1400c0863
mov byte [rsp + 0x41], 1
mov rax, qword [rsp + 0x1670]
cmp qword [rax], 0
jne 0x1400befdc
mov rax, qword [rsp + 0x1670]
add rax, 0x188
mov rcx, rax
call fcn.14009e560
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, qword [rsp + 0x1670]
mov qword [rcx], rax
mov rax, qword [rsp + 0x1670]
cmp qword [rax], 0
jne 0x1400befdc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
mov byte [rsp + 0x59], 0
lea rcx, [rsp + 0x360]
call fcn.14000b110
movzx eax, byte [rsp + 0x59]
jmp 0x1400c0863
mov rax, qword [rsp + 0x1670]
mov eax, dword [rax + 0x21c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x1670]
mov r9d, dword [rax + 0x218]
mov rax, qword [rsp + 0x1670]
mov r8d, dword [rax + 0x214]
mov rax, qword [rsp + 0x1670]
mov edx, dword [rax + 0x210]
mov rax, qword [rsp + 0x1670]
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
movzx eax, word [0x1401c31d0]
mov word [rsp + 0x3e0], ax
lea rax, [rsp + 0x3e2]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
movzx eax, word [0x1401c31d0]
mov word [rsp + 0xc20], ax
lea rax, [rsp + 0xc22]
mov rdi, rax
xor eax, eax
mov ecx, 0xa26
rep stosb byte [rdi], al
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x2a0]
call fcn.1400f9480
mov dword [rsp + 0x2a0], 0x68
lea rax, [rsp + 0x3e0]
mov qword [rsp + 0x2b8], rax
mov dword [rsp + 0x2c0], 0x104
lea rax, [rsp + 0xc20]
mov qword [rsp + 0x2e8], rax
mov dword [rsp + 0x2f0], 0x514
mov dword [rsp + 0x2b0], 1
mov rax, qword [rsp + 0x1670]
add rax, 0x10
mov rcx, rax
call fcn.1400663e0
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x1670]
add rax, 0x10
mov rcx, rax
call fcn.14009e560
mov qword [rsp + 0x128], rax
lea r9, [rsp + 0x2a0]
xor r8d, r8d
mov edx, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x1400c0848
mov rax, qword [rsp + 0x1670]
add rax, 0x30
lea rdx, [rsp + 0x3e0]
mov rcx, rax
call fcn.1400b6f00
mov qword [rsp + 0xb0], 0
xor r9d, r9d
movzx r8d, word [rsp + 0x2c4]
lea rdx, [rsp + 0x3e0]
mov rax, qword [rsp + 0x1670]
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
je 0x1400c0848
cmp dword [rsp + 0x2b4], 2
jne 0x1400bf1ac
mov dword [rsp + 0x98], 0x800000
jmp 0x1400bf1b7
mov dword [rsp + 0x98], 0
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0xd0], eax
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x360]
call fcn.14009e560
mov ecx, dword [rsp + 0xd0]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x2e8]
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400c083a
mov rax, qword [rsp + 0x1670]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x1400bf268
cmp dword [rsp + 0x2b4], 2
jne 0x1400bf268
mov dword [rsp + 0x330], 0x3100
mov r9d, 4
lea r8, [rsp + 0x330]
mov edx, 0x1f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x80], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x1400c0821
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0xc4], 3
jae 0x1400c0821
mov rax, qword [rsp + 0x1670]
add rax, 0x120
mov rcx, rax
call fcn.1400663e0
test rax, rax
jbe 0x1400bf340
mov rax, qword [rsp + 0x1670]
add rax, 0x120
mov rcx, rax
call fcn.1400663e0
mov dword [rsp + 0xc8], eax
mov rax, qword [rsp + 0x1670]
add rax, 0x120
mov rcx, rax
call fcn.14009e560
mov qword [rsp + 0x130], rax
mov r9d, 0x1000000
mov r8d, dword [rsp + 0xc8]
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1400bf340
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
mov rax, qword [rsp + 0x1670]
add rax, 0xf0
mov rcx, rax
call fcn.1400663e0
test rax, rax
jbe 0x1400bf401
lea rdx, str.Cookie:
lea rcx, [rsp + 0x398]
call fcn.1400b5740
nop
mov rax, qword [rsp + 0x1670]
add rax, 0xf0
mov rdx, rax
lea rcx, [rsp + 0x398]
call fcn.1400b7a00
lea rcx, [rsp + 0x398]
call fcn.1400663e0
mov dword [rsp + 0xcc], eax
lea rcx, [rsp + 0x398]
call fcn.14009e560
mov qword [rsp + 0x138], rax
mov r9d, 0x1000000
mov r8d, dword [rsp + 0xcc]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x1400bf3f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
lea rcx, [rsp + 0x398]
call fcn.14000b110
mov rax, qword [rsp + 0x1670]
add rax, 0x140
mov rcx, rax
call fcn.1400663e0
test rax, rax
jbe 0x1400bf5fa
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x280]
call fcn.1400f9480
mov dword [rsp + 0x280], 3
movzx eax, word [0x1401c31d0]
mov word [rsp + 0x5f0], ax
lea rax, [rsp + 0x5f2]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x1670]
add rax, 0x140
mov rcx, rax
call fcn.14009e560
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x5f0]
call fcn.140110bc0
lea rax, [rsp + 0x5f0]
mov qword [rsp + 0x288], rax
mov r9d, 0x18
lea r8, [rsp + 0x280]
mov edx, 0x26
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1400bf4d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
mov rax, qword [rsp + 0x1670]
add rax, 0x1b0
mov rcx, rax
call fcn.1400663e0
test rax, rax
jbe 0x1400bf5fa
mov rax, qword [rsp + 0x1670]
add rax, 0x1b0
mov rcx, rax
call fcn.1400663e0
shl rax, 1
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x1670]
add rax, 0x1b0
mov rcx, rax
call fcn.14009e560
mov qword [rsp + 0x140], rax
mov r9d, dword [rsp + 0xb8]
mov r8, qword [rsp + 0x140]
mov edx, 0x1002
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1400bf569
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
mov rax, qword [rsp + 0x1670]
add rax, 0x1d0
mov rcx, rax
call fcn.1400663e0
test rax, rax
jbe 0x1400bf5fa
mov rax, qword [rsp + 0x1670]
add rax, 0x1d0
mov rcx, rax
call fcn.1400663e0
shl rax, 1
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0x1670]
add rax, 0x1d0
mov rcx, rax
call fcn.14009e560
mov qword [rsp + 0x148], rax
mov r9d, dword [rsp + 0xbc]
mov r8, qword [rsp + 0x148]
mov edx, 0x1003
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1400bf5fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
movzx eax, byte [rsp + 0x1680]
test eax, eax
je 0x1400bf647
mov dword [rsp + 0x334], 2
mov r9d, 4
lea r8, [rsp + 0x334]
mov edx, 0x3f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1400bf647
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
mov byte [rsp + 0x42], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1400bf686
mov byte [rsp + 0x42], 1
jmp 0x1400bf99e
mov r8d, 0x20
xor edx, edx
lea rcx, [rsp + 0x210]
call fcn.1400f9480
lea rcx, [rsp + 0x210]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x1400bf98a
cmp qword [rsp + 0x218], 0
je 0x1400bf833
mov r8d, 0x20
xor edx, edx
lea rcx, [rsp + 0x248]
call fcn.1400f9480
mov dword [rsp + 0x248], 3
mov dword [rsp + 0x24c], 1
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x264], 1
mov dword [rsp + 0x260], 0
mov qword [rsp + 0x258], 0
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x230]
call fcn.1400f9480
mov rax, qword [rsp + 0x1670]
add rax, 0x10
mov rcx, rax
call fcn.14009e560
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x1670]
mov rax, qword [rax]
mov qword [rsp + 0x158], rax
lea r9, [rsp + 0x230]
lea r8, [rsp + 0x248]
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x1400bf81a
mov r9d, 0x18
lea r8, [rsp + 0x230]
mov edx, 0x26
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x1400bf7e6
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1400bf7e6
mov byte [rsp + 0x42], 1
cmp qword [rsp + 0x238], 0
je 0x1400bf7ff
mov rcx, qword [rsp + 0x238]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp qword [rsp + 0x240], 0
je 0x1400bf818
mov rcx, qword [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400bf82e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
jmp 0x1400bf93d
cmp qword [rsp + 0x220], 0
je 0x1400bf93d
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x268]
call fcn.1400f9480
mov dword [rsp + 0x268], 3
movzx eax, word [0x1401c31d0]
mov word [rsp + 0x800], ax
lea rax, [rsp + 0x802]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x220]
mov edx, 0x104
lea rcx, [rsp + 0x800]
call fcn.140110bc0
lea rax, [rsp + 0x800]
mov qword [rsp + 0x270], rax
cmp qword [rsp + 0x228], 0
je 0x1400bf907
movzx eax, word [0x1401c31d0]
mov word [rsp + 0xa10], ax
lea rax, [rsp + 0xa12]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x228]
mov edx, 0x104
lea rcx, [rsp + 0xa10]
call fcn.140110bc0
lea rax, [rsp + 0xa10]
mov qword [rsp + 0x278], rax
mov r9d, 0x18
lea r8, [rsp + 0x268]
mov edx, 0x26
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1400bf93d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
cmp qword [rsp + 0x218], 0
je 0x1400bf956
mov rcx, qword [rsp + 0x218]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp qword [rsp + 0x220], 0
je 0x1400bf96f
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
cmp qword [rsp + 0x228], 0
je 0x1400bf988
mov rcx, qword [rsp + 0x228]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400bf99e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x1400c081c
mov rax, qword [rsp + 0x1670]
cmp qword [rax + 0x110], 0
je 0x1400bfa11
mov dword [rsp + 0x338], 0
lea r9, [rsp + 0x338]
mov rax, qword [rsp + 0x1670]
mov r8d, dword [rax + 0x118]
mov rax, qword [rsp + 0x1670]
mov rdx, qword [rax + 0x110]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x1400bfa11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400c0808
mov dword [rsp + 0x208], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x208]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x16
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1400bfa8a
cmp dword [rsp + 0x60], 0
jne 0x1400bffab
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400bffab
mov eax, dword [rsp + 0x208]
mov qword [rsp + 0x160], rax
mov eax, 2
mov rcx, qword [rsp + 0x160]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400f74a0
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1400bffab
mov eax, dword [rsp + 0x208]
shl rax, 1
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1400f9480
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x208]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x78]
xor r8d, r8d
mov edx, 0x16
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1400bff62
mov rax, qword [rsp + 0x1670]
add rax, 0x50
mov qword [rsp + 0x170], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x170]
call fcn.1400c3d80
mov edx, 0x18
lea rcx, [rsp + 0x318]
call fcn.14000f440
lea rcx, [rsp + 0x318]
call fcn.14000a0e0
nop
lea rdx, [0x1401c31d0]
lea rcx, [rsp + 0x340]
call fcn.1400b5740
nop
mov rax, qword [rsp + 0x1670]
movzx eax, byte [rax + 0x1a8]
test eax, eax
jne 0x1400bfc27
lea rdx, str.charset_A_Za_z0_9___
lea rcx, [rsp + 0x340]
call fcn.1400b6f00
mov rax, qword [rsp + 0x1670]
add rax, 0x50
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x318]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, 1
xor edx, edx
lea rcx, [rsp + 0x340]
call fcn.1400bdc60
movzx eax, al
test eax, eax
je 0x1400bfc27
lea rcx, [rsp + 0x318]
call fcn.1400ca4e0
test rax, rax
jbe 0x1400bfc27
xor edx, edx
lea rcx, [rsp + 0x318]
call fcn.1400b74d0
mov rcx, qword [rsp + 0x1670]
add rcx, 0x90
mov rdx, rax
call fcn.1400b6e60
lea rdx, str.Content_Length:__0_9_
lea rcx, [rsp + 0x340]
call fcn.1400b6f00
mov rax, qword [rsp + 0x1670]
add rax, 0x50
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x318]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, 1
xor edx, edx
lea rcx, [rsp + 0x340]
call fcn.1400bdc60
movzx eax, al
test eax, eax
je 0x1400bfcb7
lea rcx, [rsp + 0x318]
call fcn.1400ca4e0
test rax, rax
jbe 0x1400bfcb7
xor edx, edx
lea rcx, [rsp + 0x318]
call fcn.1400b74d0
mov rcx, rax
call fcn.14009e560
mov rcx, rax
call fcn.140112788
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0xc8], eax
lea rdx, str.Location:__0_9_
lea rcx, [rsp + 0x340]
call fcn.1400b6f00
mov rax, qword [rsp + 0x1670]
add rax, 0x50
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x318]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, 1
xor edx, edx
lea rcx, [rsp + 0x340]
call fcn.1400bdc60
movzx eax, al
test eax, eax
je 0x1400bfd40
lea rcx, [rsp + 0x318]
call fcn.1400ca4e0
test rax, rax
jbe 0x1400bfd40
xor edx, edx
lea rcx, [rsp + 0x318]
call fcn.1400b74d0
mov rcx, qword [rsp + 0x1670]
add rcx, 0x1f0
mov rdx, rax
call fcn.1400b6e60
lea rdx, str.Set_Cookie:_b.__n
lea rcx, [rsp + 0x340]
call fcn.1400b6f00
mov rax, qword [rsp + 0x1670]
add rax, 0x50
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x318]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, 1
xor edx, edx
lea rcx, [rsp + 0x340]
call fcn.1400bdc60
movzx eax, al
test eax, eax
je 0x1400bff47
lea rcx, [rsp + 0x318]
call fcn.1400ca4e0
test rax, rax
jbe 0x1400bff47
mov qword [rsp + 0xa0], 0
jmp 0x1400bfdcc
mov rax, qword [rsp + 0xa0]
inc rax
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x318]
call fcn.1400ca4e0
cmp qword [rsp + 0xa0], rax
jae 0x1400bfe4b
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x318]
call fcn.1400b74d0
mov rcx, qword [rsp + 0x1670]
add rcx, 0xd0
mov rdx, rax
call fcn.1400b7a00
lea rcx, [rsp + 0x318]
call fcn.1400ca4e0
dec rax
cmp qword [rsp + 0xa0], rax
je 0x1400bfe46
mov rax, qword [rsp + 0x1670]
add rax, 0xd0
lea rdx, [0x1401c3444]
mov rcx, rax
call fcn.1400b7a30
jmp 0x1400bfdb9
lea rdx, [0x1401c3348]
lea rcx, [rsp + 0x1c8]
call fcn.1400b5740
nop
mov rax, qword [rsp + 0x1670]
add rax, 0xd0
lea r8, [rsp + 0x1c8]
mov rdx, rax
lea rcx, [rsp + 0x1e8]
call fcn.1400c0ef0
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x1670]
add rax, 0xd0
mov rdx, qword [rsp + 0x178]
mov rcx, rax
call fcn.14009ca30
lea rcx, [rsp + 0x1e8]
call fcn.14000b110
nop
lea rcx, [rsp + 0x1c8]
call fcn.14000b110
mov rax, qword [rsp + 0x1670]
add rax, 0xd0
mov rcx, rax
call fcn.1400663e0
test rax, rax
jbe 0x1400bff47
mov rax, qword [rsp + 0x1670]
add rax, 0xd0
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x1670]
add rax, 0xd0
mov rcx, rax
call fcn.1400663e0
dec rax
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call fcn.140098030
movzx eax, word [rax]
cmp eax, 0x3b
je 0x1400bff47
mov rax, qword [rsp + 0x1670]
add rax, 0xd0
lea rdx, [0x1401c344c]
mov rcx, rax
call fcn.1400b7a30
nop
lea rcx, [rsp + 0x340]
call fcn.14000b110
nop
lea rcx, [rsp + 0x318]
call fcn.1400b6a60
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.1400f6c58
cmp qword [rsp + 0xf0], 0
jne 0x1400bff95
mov qword [rsp + 0x188], 0
jmp 0x1400bffab
mov qword [rsp + 0x78], 0x8123
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x188], rax
mov dword [rsp + 0x208], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x208]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x13
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1400c0007
cmp dword [rsp + 0x60], 0
jne 0x1400c0109
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400c0109
mov eax, dword [rsp + 0x208]
mov qword [rsp + 0x190], rax
mov eax, 2
mov rcx, qword [rsp + 0x190]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400f74a0
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x1400c0109
mov eax, dword [rsp + 0x208]
shl rax, 1
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.1400f9480
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x208]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
xor r8d, r8d
mov edx, 0x13
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1400c00c0
mov rax, qword [rsp + 0x1670]
add rax, 0x168
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.1400b6f00
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call fcn.1400f6c58
cmp qword [rsp + 0xe8], 0
jne 0x1400c00f3
mov qword [rsp + 0x1a0], 0
jmp 0x1400c0109
mov qword [rsp + 0x70], 0x8123
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x1a0], rax
mov dword [rsp + 0x5c], 0x2800
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x1670]
cmp qword [rax + 0xb0], 0
je 0x1400c0162
mov rax, qword [rsp + 0x1670]
mov rax, qword [rax + 0xb0]
mov qword [rsp + 0x1a8], rax
mov rcx, qword [rsp + 0x1a8]
call fcn.1400f6c58
mov rax, qword [rsp + 0x1670]
mov qword [rax + 0xb0], 0
mov eax, dword [rsp + 0x5c]
mov ecx, eax
call fcn.1400f74a0
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1670]
mov rcx, qword [rsp + 0x1b0]
mov qword [rax + 0xb0], rcx
mov rax, qword [rsp + 0x1670]
cmp qword [rax + 0xb0], 0
jne 0x1400c01a8
mov byte [rsp + 0x41], 0
jmp 0x1400c0821
mov eax, dword [rsp + 0x5c]
mov r8d, eax
xor edx, edx
mov rax, qword [rsp + 0x1670]
mov rcx, qword [rax + 0xb0]
call fcn.1400f9480
mov dword [rsp + 0x208], 0
lea rdx, [rsp + 0x208]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1400c0446
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x1670]
call fcn.1400c0d00
mov eax, dword [rsp + 0x208]
inc eax
mov eax, eax
mov ecx, eax
call fcn.1400f74a0
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x1400c0444
mov eax, dword [rsp + 0x208]
inc eax
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x88]
call fcn.1400f9480
mov dword [rsp + 0x310], 0
lea r9, [rsp + 0x310]
mov r8d, dword [rsp + 0x208]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400c03f2
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x310]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x5c]
jbe 0x1400c03b5
mov rax, qword [rsp + 0x1670]
mov rax, qword [rax + 0xb0]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x5c]
shl eax, 1
mov eax, eax
mov ecx, eax
call fcn.1400f74a0
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1670]
mov rcx, qword [rsp + 0x1c0]
mov qword [rax + 0xb0], rcx
mov rax, qword [rsp + 0x1670]
cmp qword [rax + 0xb0], 0
jne 0x1400c0319
mov rax, qword [rsp + 0x1670]
mov rcx, qword [rsp + 0xa8]
mov qword [rax + 0xb0], rcx
mov byte [rsp + 0x41], 0
jmp 0x1400c0468
mov eax, dword [rsp + 0x5c]
shl eax, 1
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov r8d, eax
xor edx, edx
mov rax, qword [rsp + 0x1670]
mov rcx, qword [rax + 0xb0]
call fcn.1400f9480
mov eax, dword [rsp + 0x50]
mov r8d, eax
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x1670]
mov rcx, qword [rax + 0xb0]
call fcn.1400f7ef0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.1400f6c58
cmp qword [rsp + 0xf8], 0
jne 0x1400c0399
mov qword [rsp + 0x100], 0
jmp 0x1400c03b5
mov qword [rsp + 0xa8], 0x8123
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x310]
mov ecx, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x1670]
add rcx, qword [rdx + 0xb0]
mov r8d, eax
mov rdx, qword [rsp + 0x88]
call fcn.1400f7ef0
mov eax, dword [rsp + 0x310]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.1400f6c58
cmp qword [rsp + 0xd8], 0
jne 0x1400c0428
mov qword [rsp + 0x108], 0
jmp 0x1400c0444
mov qword [rsp + 0x88], 0x8123
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x108], rax
jmp 0x1400c045a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
cmp dword [rsp + 0x208], 0
ja 0x1400c01c5
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x1670]
call fcn.1400c0d00
mov rax, qword [rsp + 0x1670]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0xb8], ecx
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x64], 1
mov rax, qword [rsp + 0x1670]
add rax, 0x90
mov rcx, rax
call fcn.14009e560
mov r8d, 5
lea rdx, [0x1401c3450]
mov rcx, rax
call fcn.1401112e8
test eax, eax
jne 0x1400c04da
mov dword [rsp + 0x68], 0xfde9
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0x1670]
mov eax, dword [rax + 0xb8]
inc eax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, eax
mov rax, qword [rsp + 0x1670]
mov r8, qword [rax + 0xb0]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jg 0x1400c057b
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x64], 1
mov rax, qword [rsp + 0x1670]
mov eax, dword [rax + 0xb8]
inc eax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, eax
mov rax, qword [rsp + 0x1670]
mov r8, qword [rax + 0xb0]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jle 0x1400c06b5
movsxd rax, dword [rsp + 0x54]
mov qword [rsp + 0x110], rax
mov eax, 2
mov rcx, qword [rsp + 0x110]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400f74a0
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x1400c06b5
movsxd rax, dword [rsp + 0x54]
shl rax, 1
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x90]
call fcn.1400f9480
mov rax, qword [rsp + 0x1670]
mov eax, dword [rax + 0xb8]
inc eax
mov ecx, dword [rsp + 0x54]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov rax, qword [rsp + 0x1670]
mov r8, qword [rax + 0xb0]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jle 0x1400c0663
mov rax, qword [rsp + 0x1670]
add rax, 0x70
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.1400b6f00
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.1400f6c58
cmp qword [rsp + 0xe0], 0
jne 0x1400c0699
mov qword [rsp + 0x120], 0
jmp 0x1400c06b5
mov qword [rsp + 0x90], 0x8123
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x120], rax
mov byte [rsp + 0x40], 1
lea rdx, [0x1401c3350]
lea rcx, [rsp + 0x360]
call fcn.1400b24b0
movzx eax, al
test eax, eax
je 0x1400c0806
movzx eax, byte [rsp + 0x1680]
test eax, eax
jne 0x1400c0806
lea rdx, str._html_
lea rcx, [rsp + 0x3b8]
call fcn.1400b5740
nop
mov edx, 0x18
lea rcx, [rsp + 0x380]
call fcn.14000f440
lea rcx, [rsp + 0x380]
call fcn.14000a0e0
nop
mov rax, qword [rsp + 0x1670]
add rax, 0x70
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x380]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, 1
xor edx, edx
lea rcx, [rsp + 0x3b8]
call fcn.1400bdc60
movzx eax, al
test eax, eax
je 0x1400c07eb
lea rcx, [rsp + 0x380]
call fcn.1400ca4e0
test rax, rax
jbe 0x1400c07eb
lea rdx, str.__html_
lea rcx, [rsp + 0x3b8]
call fcn.1400b6f00
mov rax, qword [rsp + 0x1670]
add rax, 0x70
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x380]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, 1
xor edx, edx
lea rcx, [rsp + 0x3b8]
call fcn.1400bdc60
movzx eax, al
test eax, eax
je 0x1400c07d4
lea rcx, [rsp + 0x380]
call fcn.1400ca4e0
test rax, rax
ja 0x1400c07eb
mov rax, qword [rsp + 0x1670]
mov dword [rax + 0x160], 0xd
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x380]
call fcn.1400b6a60
nop
lea rcx, [rsp + 0x3b8]
call fcn.14000b110
jmp 0x1400c081c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x1670]
mov dword [rcx + 0x160], eax
jmp 0x1400bf278
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x1400c082f
mov byte [rsp + 0x41], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movzx eax, byte [rsp + 0x41]
mov byte [rsp + 0x5a], al
lea rcx, [rsp + 0x360]
call fcn.14000b110
movzx eax, byte [rsp + 0x5a]
mov rcx, qword [rsp + 0x1650]
xor rcx, rsp
call fcn.1400f70e0
add rsp, 0x1660
pop rdi
ret