Function at 0x10114fc0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189378
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10200854]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x10]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0
call fcn.10004e10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], 0
call fcn.10010110
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
push 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0
push 0x101b98d8
mov dword [esi + 0xb4], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.10005dc0
mov byte [ebp - 4], 2
lea eax, [esi + 0x40]
push ecx
push eax
lea eax, [esi + 0x58]
mov ecx, ebx
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x30]
push dword [ebp + 0x10]
push eax
push dword [edi + 4]
call fcn.101370d0
test al, al
sete bl
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x101150cd
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x101150c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10115204
push edx
push ecx
call fcn.10161214
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
test bl, bl
je 0x10115109
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb0], eax
cmp dword [edi + 4], 0
je 0x10115200
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebp - 0x3c]
jmp 0x101151f0
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x18]
push ecx
push eax
push 0x13
mov ecx, ebx
mov dword [ebp - 0x18], 0
call fcn.100a2a50
test al, al
jne 0x10115136
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb0], eax
jmp 0x101151e2
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xb4], eax
cmp eax, 0xc8
je 0x101151cf
cmp eax, 0xce
je 0x101151cf
cmp eax, 0x12e
jne 0x10115200
mov eax, dword [ebp - 0x14]
mov ecx, 0x400
mov dword [ebp - 0x34], ecx
test eax, eax
jne 0x10115187
push 0x800
call fcn.101616a1
add esp, 4
lea ecx, [ebp - 0x14]
push eax
call fcn.10106a20
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
add ecx, ecx
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
push dword [ebp - 0x14]
push 0x21
call fcn.100a2ac0
test al, al
je 0x10115200
mov eax, dword [ebp - 0x14]
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x101151b1
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10004820
mov edi, dword [ebp - 0x44]
jmp 0x101151f0
cmp dword [ebp + 0x14], 0
ja 0x101151db
cmp dword [ebp + 0x10], 0
jbe 0x1011520a
cmp eax, 0xce
je 0x1011520a
cmp dword [edi + 4], 0
je 0x10115200
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 3
jb 0x10115032
xor bl, bl
jmp 0x10115216
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov dword [esi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10115227
push ecx
call fcn.1007f060
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100047b0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101611d3
mov esp, ebp
pop ebp
ret 0x10