Function at 0x1800085c4
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 qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], r8b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10c0]
mov eax, 0x11c0
call fcn.18003f850
sub rsp, rax
lea r15, [rcx + 0x10]
mov rsi, rcx
mov rcx, r15
mov rbx, rdx
call fcn.180005ea8
xor r12d, r12d
test rax, rax
jne 0x180008617
mov dword [rsi + 0x160], 3
jmp 0x18000940f
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.18000ed48
lea rcx, [rbp - 0x58]
call fcn.18000eae0
lea rbx, [0x18007fa90]
mov rcx, rax
mov rdx, rbx
call fcn.18004ba84
lea rcx, [rbp - 0x58]
test eax, eax
je 0x180008669
call fcn.18000eae0
lea rbx, str.POST
mov rcx, rax
mov rdx, rbx
call fcn.18004ba84
test eax, eax
jne 0x1800093f3
lea rcx, [rbp - 0x58]
mov rdx, rbx
call fcn.18000ebec
mov rcx, qword [rsi]
mov r13d, 1
test rcx, rcx
jne 0x1800086b7
lea rcx, [rsi + 0x188]
call fcn.18000eae0
mov rcx, rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsi], rax
mov rcx, rax
test rax, rax
jne 0x1800086b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800093f8
mov eax, dword [rsi + 0x21c]
mov r9d, dword [rsi + 0x218]
mov r8d, dword [rsi + 0x214]
mov edx, dword [rsi + 0x210]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
xor edx, edx
mov word [rbp + 0x270], r12w
mov r8d, 0x206
lea rcx, [rbp + 0x272]
call fcn.1800409f0
xor edx, edx
mov word [rbp + 0x690], r12w
mov r8d, 0xa26
lea rcx, [rbp + 0x692]
call fcn.1800409f0
mov ebx, 0x68
lea rcx, [rbp - 0x30]
mov r8d, ebx
xor edx, edx
call fcn.1800409f0
lea rax, [rbp + 0x270]
mov dword [rbp - 0x30], ebx
mov qword [rbp - 0x18], rax
mov rcx, r15
lea rax, [rbp + 0x690]
mov dword [rbp - 0x10], 0x104
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], 0x514
mov dword [rbp - 0x20], r13d
call fcn.180005ea8
mov rcx, r15
mov rbx, rax
call fcn.18000eae0
mov rcx, rax
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x180009403
lea rcx, [rsi + 0x30]
lea rdx, [rbp + 0x270]
call fcn.18000ebec
movzx r8d, word [rbp - 0xc]
lea rdx, [rbp + 0x270]
mov rcx, qword [rsi]
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbp - 0x60], rax
mov rdi, rax
test rax, rax
je 0x180009403
cmp dword [rbp - 0x1c], 2
lea rcx, [rbp - 0x58]
mov eax, 0x800000
mov ebx, r12d
cmove ebx, eax
call fcn.18000eae0
mov r8, qword [rbp + 0x18]
mov rdx, rax
mov dword [rsp + 0x30], ebx
xor r9d, r9d
mov qword [rsp + 0x28], r12
mov rcx, rdi
mov qword [rsp + 0x20], r12
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
je 0x1800093e8
xor edi, edi
cmp byte [rsi + 8], dil
jne 0x18000882a
cmp dword [rbp - 0x1c], 2
jne 0x18000882a
lea r9d, [rdi + 4]
mov dword [rbp + 0x1110], 0x3100
lea r8, [rbp + 0x1110]
mov rcx, rax
lea edx, [rdi + 0x1f]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov byte [rbp + 0x1110], dil
mov ecx, edi
mov eax, ecx
add ecx, r13d
mov dword [rbp - 0x68], ecx
cmp eax, 3
jae 0x1800093d8
lea rdi, [rsi + 0x120]
mov rcx, rdi
call fcn.180005ea8
test rax, rax
je 0x180008894
mov rcx, rdi
call fcn.180005ea8
mov rcx, rdi
mov rbx, rax
call fcn.18000eae0
mov rdx, rax
mov r9d, 0x1000000
mov r8d, ebx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
xor edi, edi
test eax, eax
jne 0x180008896
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi + 0x160], eax
jmp 0x180008896
xor edi, edi
lea rbx, [rsi + 0xf0]
mov rcx, rbx
call fcn.180005ea8
test rax, rax
je 0x180008915
lea rdx, str.Cookie:
lea rcx, [rsp + 0x58]
call fcn.18000ecbc
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.18000ebe4
lea rcx, [rsp + 0x58]
call fcn.180005ea8
lea rcx, [rsp + 0x58]
mov rbx, rax
call fcn.18000eae0
mov rdx, rax
mov r9d, 0x1000000
mov r8d, ebx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
lea r12, [rsi + 0x160]
test eax, eax
jne 0x180008909
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
lea rcx, [rsp + 0x58]
call fcn.18000ec34
jmp 0x18000891c
lea r12, [rsi + 0x160]
lea rbx, [rsi + 0x140]
mov rcx, rbx
call fcn.180005ea8
test rax, rax
je 0x180008a4b
mov r15d, 0x18
lea rcx, [rsp + 0x40]
mov r8d, r15d
xor edx, edx
call fcn.1800409f0
xor edx, edx
mov dword [rsp + 0x40], 3
mov r8d, 0x206
mov word [rbp + 0x60], di
lea rcx, [rbp + 0x62]
call fcn.1800409f0
mov rcx, rbx
call fcn.18000eae0
mov r8, rax
lea rcx, [rbp + 0x60]
mov edx, 0x104
call fcn.18004c8a8
lea rax, [rbp + 0x60]
mov r9d, r15d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea edx, [r15 + 0xe]
mov rcx, r14
mov rdi, r12
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1800089b3
lea rdi, [rsi + 0x160]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
lea r15, [rsi + 0x1b0]
mov rcx, r15
call fcn.180005ea8
test rax, rax
je 0x180008a45
mov rcx, r15
call fcn.180005ea8
mov rbx, rax
mov rcx, r15
add ebx, ebx
call fcn.18000eae0
mov r8, rax
mov r9d, ebx
mov edx, 0x1002
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x1800089fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
lea r15, [rsi + 0x1d0]
mov rcx, r15
call fcn.180005ea8
test rax, rax
je 0x180008a45
mov rcx, r15
call fcn.180005ea8
mov rbx, rax
mov rcx, r15
add ebx, ebx
call fcn.18000eae0
mov r8, rax
mov r9d, ebx
mov edx, 0x1003
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x180008a45
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
xor edi, edi
lea r15, [rsi + 0x10]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
mov rcx, r14
movzx ebx, dil
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x180008c6a
xor edx, edx
lea r8d, [rax + 0x20]
lea rcx, [rsp + 0x78]
call fcn.1800409f0
lea rcx, [rsp + 0x78]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x1800093b8
cmp qword [rbp - 0x80], rdi
je 0x180008b75
xor edx, edx
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 0x20]
call fcn.1800409f0
mov rax, qword [rbp - 0x80]
lea rcx, [rsp + 0x40]
xor edx, edx
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x5c], r13d
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x74], r13d
lea r8d, [rdx + 0x18]
mov dword [rsp + 0x70], edi
mov qword [rsp + 0x68], rdi
call fcn.1800409f0
mov rcx, r15
call fcn.18000eae0
mov rcx, qword [rsi]
lea r9, [rsp + 0x40]
mov rdx, rax
lea r8, [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x180008c2b
mov r9d, 0x18
lea r8, [rsp + 0x40]
mov rcx, r14
lea edx, [r9 + 0xe]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x180008b4c
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
cmovne ebx, r13d
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180008b5c
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180008c35
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x180008c35
cmp qword [rbp - 0x78], rdi
je 0x180008c53
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x18]
call fcn.1800409f0
mov r15d, 0x206
mov dword [rsp + 0x40], 3
mov r8d, r15d
mov word [rbp + 0x60], di
xor edx, edx
lea rcx, [rbp + 0x62]
call fcn.1800409f0
mov r8, qword [rbp - 0x78]
lea rcx, [rbp + 0x60]
mov edx, 0x104
call fcn.18004c8a8
mov rdi, qword [rbp - 0x70]
lea rax, [rbp + 0x60]
mov qword [rsp + 0x48], rax
xor eax, eax
test rdi, rdi
je 0x180008c0d
mov r8d, r15d
mov word [rbp + 0x480], ax
xor edx, edx
lea rcx, [rbp + 0x482]
call fcn.1800409f0
mov r8, rdi
lea rcx, [rbp + 0x480]
mov edx, 0x104
call fcn.18004c8a8
lea rax, [rbp + 0x480]
mov qword [rsp + 0x50], rax
mov r9d, 0x18
lea r8, [rsp + 0x40]
mov rcx, r14
lea edx, [r9 + 0xe]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
xor edi, edi
test eax, eax
jne 0x180008c35
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x180008c44
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180008c53
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x180008c62
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test bl, bl
je 0x1800093c2
mov rdx, qword [rsi + 0x110]
test rdx, rdx
je 0x180008ca1
mov r8d, dword [rsi + 0x118]
lea r9, [rbp + 0x1100]
mov rcx, r14
mov dword [rbp + 0x1100], edi
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x180008ca1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1800093b8
xor r9d, r9d
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x1100]
mov dword [rbp + 0x1100], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, r14
lea ebx, [r9 + 0x16]
mov edx, ebx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x180008cf3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180008fcb
mov ecx, dword [rbp + 0x1100]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180003e18
mov r8d, dword [rbp + 0x1100]
xor edx, edx
add r8, r8
mov rcx, rax
mov r15, rax
call fcn.1800409f0
lea rax, [rbp + 0x1100]
mov qword [rsp + 0x28], rdi
mov r9, r15
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, ebx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x180008fc3
lea rbx, [rsi + 0x50]
mov rdx, r15
mov rcx, rbx
call fcn.18000eba4
lea rcx, [rsp + 0x40]
call fcn.18000ea20
lea rdx, [0x18007f954]
lea rcx, [rsp + 0x78]
call fcn.18000ecbc
cmp byte [rsi + 0x1a8], dil
jne 0x180008dde
lea rdx, str.charset_A_Za_z0_9___
lea rcx, [rsp + 0x78]
call fcn.18000ebec
lea rax, [rsp + 0x40]
mov r9, rbx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.180007f20
test al, al
je 0x180008dde
lea rcx, [rsp + 0x40]
call fcn.18000e9a4
test rax, rax
je 0x180008dde
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.18000e998
mov rdx, rax
lea rcx, [rsi + 0x90]
call fcn.18000ebf4
lea rdx, str.Content_Length:__0_9_
lea rcx, [rsp + 0x78]
call fcn.18000ebec
lea rax, [rsp + 0x40]
mov r9, rbx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.180007f20
test al, al
je 0x180008e3b
lea rcx, [rsp + 0x40]
call fcn.18000e9a4
test rax, rax
je 0x180008e3b
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.18000e998
mov rcx, rax
call fcn.18000eae0
mov rcx, rax
call fcn.18004c454
mov dword [rsi + 0xc8], eax
lea rdx, str.Location:__0_9_
lea rcx, [rsp + 0x78]
call fcn.18000ebec
lea rax, [rsp + 0x40]
mov r9, rbx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.180007f20
test al, al
je 0x180008e91
lea rcx, [rsp + 0x40]
call fcn.18000e9a4
test rax, rax
je 0x180008e91
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.18000e998
mov rdx, rax
lea rcx, [rsi + 0x1f0]
call fcn.18000ebf4
lea rdx, str.Set_Cookie:_b.__n
lea rcx, [rsp + 0x78]
call fcn.18000ebec
lea rax, [rsp + 0x40]
mov r9, rbx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call fcn.180007f20
test al, al
je 0x180008faf
lea rcx, [rsp + 0x40]
call fcn.18000e9a4
test rax, rax
je 0x180008faf
lea rcx, [rsp + 0x40]
call fcn.18000e9a4
lea rbx, [rsi + 0xd0]
test rax, rax
je 0x180008f35
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.18000e998
mov rdx, rax
mov rcx, rbx
call fcn.18000ebe4
lea rcx, [rsp + 0x40]
call fcn.18000e9a4
sub rax, r13
cmp rdi, rax
je 0x180008f23
lea rdx, [0x18007fb84]
mov rcx, rbx
call fcn.18000ebdc
lea rcx, [rsp + 0x40]
add rdi, r13
call fcn.18000e9a4
cmp rdi, rax
jb 0x180008eea
lea rdx, [0x18007fa64]
lea rcx, [rsp + 0x58]
call fcn.18000ecbc
lea r8, [rsp + 0x58]
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.180008260
mov rdx, rax
mov rcx, rbx
call fcn.18000ec3c
lea rcx, [rbp + 0x40]
call fcn.18000ec34
lea rcx, [rsp + 0x58]
call fcn.18000ec34
mov rcx, rbx
call fcn.180005ea8
xor edi, edi
test rax, rax
je 0x180008faf
mov rcx, rbx
call fcn.180005ea8
sub rax, r13
mov rcx, rbx
mov rdx, rax
call fcn.18000eae8
cmp word [rax], 0x3b
je 0x180008faf
lea rdx, [0x18007fb8c]
mov rcx, rbx
call fcn.18000ebdc
lea rcx, [rsp + 0x78]
call fcn.18000ec34
lea rcx, [rsp + 0x40]
call fcn.18000ea18
mov rcx, r15
call fcn.18003efa8
xor r9d, r9d
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x1100]
mov dword [rbp + 0x1100], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, r14
lea r15d, [r9 + 0x13]
mov edx, r15d
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x180009007
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x18000907d
mov ecx, dword [rbp + 0x1100]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180003e18
mov r8d, dword [rbp + 0x1100]
xor edx, edx
add r8, r8
mov rcx, rax
mov rbx, rax
call fcn.1800409f0
lea rax, [rbp + 0x1100]
mov qword [rsp + 0x28], rdi
mov r9, rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, r15d
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x180009075
lea rcx, [rsi + 0x168]
mov rdx, rbx
call fcn.18000ebec
mov rcx, rbx
call fcn.18003efa8
mov rcx, qword [rsi + 0xb0]
mov ebx, 0x2800
mov r15d, edi
test rcx, rcx
je 0x18000909d
call fcn.18003efa8
mov qword [rsi + 0xb0], rdi
mov rcx, rbx
call fcn.180003e18
mov r8, rbx
mov qword [rsi + 0xb0], rax
xor edx, edx
mov rcx, rax
call fcn.1800409f0
mov r13d, ebx
lea rdx, [rbp + 0x1100]
mov dword [rbp + 0x1100], edi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1800091b9
mov edx, r15d
mov rcx, rsi
call fcn.18000946c
mov ecx, dword [rbp + 0x1100]
inc ecx
call fcn.180003e18
mov r8d, dword [rbp + 0x1100]
xor edx, edx
inc r8d
mov rcx, rax
mov r12, rax
call fcn.1800409f0
mov r8d, dword [rbp + 0x1100]
lea r9, [rbp + 0x1118]
mov rdx, r12
mov dword [rbp + 0x1118], edi
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1800091a8
mov ecx, dword [rbp + 0x1118]
lea eax, [rcx + r15]
cmp eax, r13d
jbe 0x180009189
mov rdi, qword [rsi + 0xb0]
add r13d, r13d
mov ecx, r13d
call fcn.180003e18
mov r8d, r13d
xor edx, edx
mov rcx, rax
mov qword [rsi + 0xb0], rax
call fcn.1800409f0
mov rcx, qword [rsi + 0xb0]
mov rdx, rdi
mov r8d, r15d
mov ebx, r15d
call fcn.1800401a0
mov rcx, rdi
call fcn.18003efa8
mov ecx, dword [rbp + 0x1118]
xor edi, edi
jmp 0x18000918c
mov ebx, r15d
mov r8d, ecx
mov rdx, r12
mov rcx, qword [rsi + 0xb0]
add rcx, rbx
call fcn.1800401a0
add r15d, dword [rbp + 0x1118]
mov rcx, r12
call fcn.18003efa8
lea r12, [rsi + 0x160]
jmp 0x1800091c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
cmp dword [rbp + 0x1100], edi
ja 0x1800090bc
mov edx, r15d
mov rcx, rsi
mov r13d, 1
call fcn.18000946c
lea rcx, [rsi + 0x90]
mov dword [rsi + 0xb8], r15d
call fcn.18000eae0
mov rcx, rax
lea r8d, [r13 + 4]
lea rdx, [0x18007fb90]
call fcn.18004e238
mov r9d, dword [rsi + 0xb8]
mov ecx, edi
mov r8, qword [rsi + 0xb0]
test eax, eax
mov dword [rsp + 0x28], edi
setne cl
mov qword [rsp + 0x20], rdi
neg eax
mov dword [rbp + 0x1110], ecx
mov edx, ecx
sbb r12d, r12d
add r9d, r13d
not r12d
and r12d, 0xfde9
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r15d, eax
test eax, eax
jg 0x180009284
mov r9d, dword [rsi + 0xb8]
mov edx, r13d
mov r8, qword [rsi + 0xb0]
add r9d, r13d
mov dword [rsp + 0x28], edi
xor ecx, ecx
mov r12d, edi
mov dword [rbp + 0x1110], r13d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r15d, eax
test eax, eax
jle 0x1800092f7
mov rcx, 0xffffffffffffffff
mov ebx, r15d
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.180003e18
lea r8, [rbx + rbx]
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.1800409f0
mov r9d, dword [rsi + 0xb8]
mov ecx, r12d
mov r8, qword [rsi + 0xb0]
add r9d, r13d
mov edx, dword [rbp + 0x1110]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x1800092ed
lea rcx, [rsi + 0x70]
mov rdx, rdi
call fcn.18000ebec
mov rcx, rdi
call fcn.18003efa8
xor edi, edi
lea rcx, [rbp - 0x58]
mov byte [rbp + 0x1110], r13b
call fcn.180013e80
test al, al
je 0x1800093db
lea rdx, str._html_
lea rcx, [rsp + 0x58]
call fcn.18000ecbc
lea rcx, [rsp + 0x40]
call fcn.18000ea20
lea rax, [rsp + 0x40]
lea r9, [rsi + 0x70]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x58]
call fcn.180007f20
test al, al
je 0x1800093a2
lea rcx, [rsp + 0x40]
call fcn.18000e9a4
test rax, rax
je 0x1800093a2
lea rdx, str.__html_
lea rcx, [rsp + 0x58]
call fcn.18000ebec
lea rax, [rsp + 0x40]
lea r9, [rsi + 0x70]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x58]
call fcn.180007f20
test al, al
je 0x180009391
lea rcx, [rsp + 0x40]
call fcn.18000e9a4
test rax, rax
jne 0x1800093a2
mov dword [rsi + 0x160], 0xd
mov byte [rbp + 0x1110], dil
lea rcx, [rsp + 0x40]
call fcn.18000ea18
lea rcx, [rsp + 0x58]
call fcn.18000ec34
jmp 0x1800093c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
lea r15, [rsi + 0x10]
mov ecx, dword [rbp - 0x68]
cmp byte [rbp + 0x1110], dil
je 0x180008833
jmp 0x1800093db
mov r13b, dil
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rdi, qword [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x180009403
mov eax, 0x57
mov ecx, 0x160
mov r13b, r12b
mov dword [rcx + rsi], eax
lea rcx, [rbp - 0x58]
call fcn.18000ec34
mov al, r13b
mov rbx, qword [rsp + 0x1208]
add rsp, 0x11c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret