Function at 0x14001b650
Capabilities:
Check http status code

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
mov eax, 0x11c0
call fcn.140029f00
sub rsp, rax
mov qword [rsp + 0x11a8], 0xfffffffffffffffe
lea rax, [0x14003e530]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0xd0], 0
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x1208]
mov dword [rax], 0
mov rax, qword [rsp + 0x1200]
mov dword [rax], 0
lea rcx, [rsp + 0xd8]
call fcn.140002d20
nop
cmp dword [rsp + 0x11e8], 0xa
jle 0x14001b722
mov qword [rsp + 0x1170], 0
lea rcx, [rsp + 0xd8]
call fcn.14001cd10
mov rax, qword [rsp + 0x1170]
jmp 0x14001be24
mov dword [rsp + 0xf8], 0
jmp 0x14001b73f
mov eax, dword [rsp + 0xf8]
inc eax
mov dword [rsp + 0xf8], eax
mov eax, dword [rsp + 0x11e8]
cmp dword [rsp + 0xf8], eax
jge 0x14001b776
movsxd rax, dword [rsp + 0xf8]
mov ecx, dword [rsp + 0xf8]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x11f0]
mov rax, qword [rdx + rax*8]
mov qword [rsp + rcx*8 + 0x70], rax
jmp 0x14001b72f
call qword [0x1400725b8]
test eax, eax
jne 0x14001b7a6
mov qword [rsp + 0x1178], 0
lea rcx, [rsp + 0xd8]
call fcn.14001cd10
mov rax, qword [rsp + 0x1178]
jmp 0x14001be24
mov edx, 0x20
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14001bd1d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x14001bd12
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov edx, 0x258
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
je 0x14001bd04
mov edx, 0x258
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
je 0x14001bcf6
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x110]
call fcn.140029d20
mov dword [rsp + 0x110], 0x68
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x128], rax
mov dword [rsp + 0x130], 0x12c
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x158], rax
mov dword [rsp + 0x160], 0x12c
lea r9, [rsp + 0x110]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x11f8]
call qword [0x1400725c0]
cmp eax, 1
jne 0x14001bce8
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x1210]
call qword [0x1400725c8]
mov qword [rsp + 0x180], rax
cmp qword [rsp + 0x180], 0
je 0x14001bce8
mov dword [rsp + 0x188], 0xaa0
mov r9d, 4
lea r8, [rsp + 0x188]
mov edx, 0x54
mov rcx, qword [rsp + 0x180]
call qword [0x1400725d0]
cmp eax, 1
jne 0x14001bcda
mov dword [rsp + 0x18c], 0x7e0000
xor r9d, r9d
mov r8d, dword [rsp + 0x18c]
lea rdx, [0x14001c5b0]
mov rcx, qword [rsp + 0x180]
call qword [0x1400725d8]
xor r9d, r9d
movzx r8d, word [rsp + 0x134]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x180]
call qword [0x1400725e0]
mov qword [rsp + 0x190], rax
cmp qword [rsp + 0x190], 0
je 0x14001bcda
movzx eax, word [rsp + 0x134]
cmp eax, 0x1bb
jne 0x14001b9b0
mov dword [rsp + 0x11b0], 0x800000
jmp 0x14001b9bb
mov dword [rsp + 0x11b0], 0
mov eax, dword [rsp + 0x11b0]
mov dword [rsp + 0x198], eax
mov eax, dword [rsp + 0x198]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x108]
lea rdx, [0x14003e538]
mov rcx, qword [rsp + 0x190]
call qword [0x1400725e8]
mov qword [rsp + 0x1a0], rax
cmp qword [rsp + 0x1a0], 0
je 0x14001bccc
mov dword [rsp + 0x1a8], 0
cmp dword [rsp + 0x11d0], 1
jne 0x14001ba6e
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x11e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x11d8]
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x1a0]
call qword [0x140072620]
mov dword [rsp + 0x1a8], eax
cmp dword [rsp + 0x11d0], 0
je 0x14001ba94
cmp dword [rsp + 0x11d0], 1
jne 0x14001bcbe
cmp dword [rsp + 0x1a8], 1
jne 0x14001bcbe
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x1a0]
call qword [0x1400725f0]
cmp eax, 1
jne 0x14001bcbe
mov eax, dword [rsp + 0x11e8]
inc eax
mov r9d, dword [rsp + 0x1218]
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
jne 0x14001bcbe
xor edx, edx
mov rcx, qword [rsp + 0x1a0]
call qword [0x1400725f8]
cmp eax, 1
jne 0x14001bcbe
mov eax, dword [rsp + 0x11e8]
inc eax
mov r9d, dword [rsp + 0x1218]
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
jne 0x14001bcbe
mov dword [rsp + 0x1ac], 0xbb8
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x1ac]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1b0]
xor r8d, r8d
mov edx, 0x13
mov rcx, qword [rsp + 0x1a0]
call qword [0x140072600]
test eax, eax
jne 0x14001bb9a
jmp 0x14001bcbe
lea rcx, [rsp + 0x1b0]
call fcn.14002ad70
mov dword [rsp + 0x1160], eax
mov rax, qword [rsp + 0x1208]
mov ecx, dword [rsp + 0x1160]
mov dword [rax], ecx
cmp dword [rsp + 0x1160], 0xc8
je 0x14001bbd1
jmp 0x14001bcbe
mov byte [rsp + 0xd70], 0
lea rax, [rsp + 0xd71]
mov rdi, rax
xor eax, eax
mov ecx, 0x3e7
rep stosb byte [rdi], al
xor eax, eax
cmp eax, 1
je 0x14001bcbe
xor r9d, r9d
mov r8d, 0x3e8
lea rdx, [rsp + 0xd70]
mov rcx, qword [rsp + 0x1a0]
call qword [0x140072610]
test eax, eax
jne 0x14001bc20
jmp 0x14001bcbe
mov eax, dword [rsp + 0x11e8]
inc eax
mov r9d, dword [rsp + 0x1218]
xor r8d, r8d
lea rdx, [rsp + 0x70]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [rsp + 0xd4], eax
cmp dword [rsp + 0xd4], 0
je 0x14001bc54
jmp 0x14001bcbe
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x18], 0
jne 0x14001bc69
mov dword [rsp + 0x60], 1
jmp 0x14001bcbe
lea rdx, [rsp + 0x1188]
lea rcx, [rsp + 0xd8]
call fcn.140002dc0
mov rax, qword [rax]
mov qword [rsp + 0x1180], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x18]
lea rax, [rsp + rax + 0xd70]
mov r9, rax
lea r8, [rsp + 0xd70]
mov rdx, qword [rsp + 0x1180]
lea rcx, [rsp + 0xd8]
call fcn.14001ce60
jmp 0x14001bbed
mov rcx, qword [rsp + 0x1a0]
call qword [0x140072618]
mov rcx, qword [rsp + 0x190]
call qword [0x140072618]
mov rcx, qword [rsp + 0x180]
call qword [0x140072618]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [rsp + 0x60], 1
jne 0x14001be03
mov qword [rsp + 0x1168], 0
lea rcx, [rsp + 0xd8]
call fcn.14001cd40
mov rdx, rax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x1168], rax
cmp qword [rsp + 0x1168], 0
jne 0x14001bd88
mov qword [rsp + 0x1190], 0
lea rcx, [rsp + 0xd8]
call fcn.14001cd10
mov rax, qword [rsp + 0x1190]
jmp 0x14001be24
lea rcx, [rsp + 0xd8]
call fcn.14001cd40
mov qword [rsp + 0x11b8], rax
lea rcx, [rsp + 0xd8]
call fcn.14001cd60
mov rcx, qword [rsp + 0x11b8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x1168]
call fcn.14002a620
lea rcx, [rsp + 0xd8]
call fcn.14001cd40
mov rcx, qword [rsp + 0x1200]
mov dword [rcx], eax
mov rax, qword [rsp + 0x1168]
mov qword [rsp + 0x1198], rax
lea rcx, [rsp + 0xd8]
call fcn.14001cd10
mov rax, qword [rsp + 0x1198]
jmp 0x14001be24
mov qword [rsp + 0x11a0], 0
lea rcx, [rsp + 0xd8]
call fcn.14001cd10
mov rax, qword [rsp + 0x11a0]
add rsp, 0x11c0
pop rdi
ret