Function at 0x100d5b00
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c33b8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10224008]
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 - 0x38], ebx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0
call fcn.10006ac0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.1006e740
mov byte [ebp - 4], 1
nop word [eax + eax]
push 0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
push 0x101cfd0e
mov dword [esi + 0xb4], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10013e10
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 - 0x58]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x30]
push dword [ebp + 0x10]
push eax
push dword [edi + 4]
call fcn.10198ef0
test al, al
sete bl
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100d5c0b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100d5c01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d5d63
push edx
push ecx
call fcn.1019e7f9
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
test bl, bl
je 0x100d5c47
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb0], eax
cmp dword [edi + 4], 0
je 0x100d5d5f
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [ebp - 0x38]
jmp 0x100d5d4f
mov ebx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
push ecx
push eax
push 0x13
mov ecx, ebx
mov dword [ebp - 0x18], 0
call fcn.101988e0
test al, al
jne 0x100d5c74
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb0], eax
jmp 0x100d5d41
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xb4], eax
cmp eax, 0xc8
je 0x100d5d2e
cmp eax, 0xce
je 0x100d5d2e
cmp eax, 0x12e
jne 0x100d5d5f
mov edx, 0x400
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x34], edx
call fcn.1006e700
test eax, eax
jne 0x100d5ccb
push 0x800
call fcn.1019f3bd
add esp, 4
lea ecx, [ebp - 0x14]
push eax
call fcn.1006e750
mov edx, dword [ebp - 0x34]
lea eax, [edx + edx]
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.1006e700
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x14]
push eax
call fcn.1006e700
push eax
push 0x21
mov ecx, ebx
call fcn.101989c0
test al, al
je 0x100d5d5f
lea ecx, [ebp - 0x14]
call fcn.1006e700
mov ecx, eax
lea edi, [ecx + 2]
nop dword [eax]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x100d5d10
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100055f0
mov edi, dword [ebp - 0x40]
jmp 0x100d5d4f
cmp dword [ebp + 0x14], 0
ja 0x100d5d3a
cmp dword [ebp + 0x10], 0
jbe 0x100d5d69
cmp eax, 0xce
je 0x100d5d69
cmp dword [edi + 4], 0
je 0x100d5d5f
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, 3
jb 0x100d5b70
xor bl, bl
jmp 0x100d5d75
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
lea ecx, [ebp - 0x14]
call fcn.1006e650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10005540
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.1019e7b8
mov esp, ebp
pop ebp
ret 0x10