Function at 0x10021300
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017b281
mov eax, dword fs:[0]
push eax
mov eax, 0x1060
call fcn.10031c10
mov eax, dword [0x101df230]
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 edi, ecx
mov eax, dword [ebp + 8]
push 0
push 0
push 0
push 0
mov dword [ebp - 0x1050], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1068], 0x101d77a4
call dword [0x1017f334]
mov ebx, eax
mov dword [ebp - 0x1064], ebx
push 4
lea eax, [ebp - 0x105c]
mov dword [ebp - 4], 0
mov esi, dword [0x1017f33c]
push eax
push 2
push ebx
mov dword [ebp - 0x105c], 0xbb8
call esi
push 4
lea eax, [ebp - 0x105c]
mov dword [ebp - 0x105c], 5
push eax
push 3
push ebx
call esi
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x1044], 0x101d77d8
mov dword [ebp - 0x103c], 0
mov esi, dword [ebp - 0x1054]
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x100213d7
mov edx, dword [esi]
jmp 0x100213d9
mov edx, esi
xor eax, eax
mov dword [ebp - 0x1014], 7
mov dword [ebp - 0x1018], 0
mov word [ebp - 0x1028], ax
cmp word [edx], ax
jne 0x100213ff
xor ecx, ecx
jmp 0x10021423
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x105c], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10021410
sub ecx, dword [ebp - 0x105c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1028]
call fcn.10020030
lea eax, [ebp - 0x1028]
mov byte [ebp - 4], 2
push eax
push ebx
lea ecx, [ebp - 0x1044]
call fcn.10022bf0
test al, al
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1014]
sete byte [ebp - 0x1049]
cmp eax, 8
jb 0x10021472
inc eax
lea ecx, [ebp - 0x1028]
push eax
push dword [ebp - 0x1028]
call fcn.10020130
cmp byte [ebp - 0x1049], 0
mov eax, dword [ebp - 0x1040]
jne 0x100218fb
mov dword [ebp - 0x1058], 0
mov dword [ebp - 0x105c], 4
test eax, eax
je 0x100218d7
push 0
lea ecx, [ebp - 0x105c]
push ecx
lea ecx, [ebp - 0x1058]
push ecx
push 0x20000013
push eax
call dword [0x1017f328]
test eax, eax
setne al
test al, al
je 0x100218d1
cmp dword [ebp - 0x1058], 0xc8
setne al
test al, al
jne 0x100218d1
mov eax, dword [ebp - 0x1040]
test eax, eax
je 0x10021894
push 0
lea ecx, [ebp - 0x105c]
mov dword [ebp - 0x1048], 0
push ecx
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x105c], 4
push ecx
push 0x20000005
push eax
call dword [0x1017f328]
test eax, eax
je 0x10021894
cmp dword [ebp - 0x1048], 0
mov dword [ebp - 0x105c], 0
je 0x10021894
mov eax, dword [edi + 0x68]
test eax, eax
je 0x10021553
push eax
call fcn.10031bfd
add esp, 4
mov dword [edi + 0x68], 0
cmp dword [edi + 0x30], 0
mov ebx, dword [ebp - 0x1048]
jne 0x1002156e
push ebx
mov dword [edi + 0x6c], ebx
call fcn.10031bf4
add esp, 4
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
mov ecx, dword [edi]
mov dword [ebp - 0x1048], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x105c], eax
test ecx, ecx
je 0x100215ea
cmp dword [esi + 0x14], 8
jb 0x10021590
mov edx, dword [esi]
jmp 0x10021592
mov edx, esi
push dword [edi + 0x70]
mov eax, dword [ecx]
xorps xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push 0
push 0
push edx
call dword [eax + 0xc]
mov ecx, dword [edi]
push dword [edi + 0x70]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi]
push dword [edi + 0x70]
push dword [ebp - 0x105c]
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [esi + 0x14], 8
jb 0x100215cf
mov edx, dword [esi]
jmp 0x100215d1
mov edx, esi
push dword [edi + 0x70]
mov ecx, dword [edi]
xorps xmm0, xmm0
sub esp, 8
mov eax, dword [ecx]
movsd qword [esp], xmm0
push 0
push ebx
push edx
call dword [eax + 0xc]
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1058], 0
push 0
push eax
call fcn.10054b20
add esp, 0xc
mov dword [ebp - 0x1030], ebx
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x102c], eax
movlpd qword [ebp - 0x1028], xmm0
call dword [0x1017f208]
mov dword [ebp - 0x1038], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1034], eax
xor eax, eax
movups xmmword [ebp - 0x1020], xmm0
jb 0x10021785
ja 0x10021651
test ebx, ebx
je 0x10021785
mov ecx, dword [edi]
test ecx, ecx
je 0x10021669
mov eax, dword [ecx]
push dword [edi + 0x70]
mov eax, dword [eax + 0x18]
call eax
test al, al
jne 0x100217f3
lea eax, [ebp - 0x1038]
push eax
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1044]
call fcn.10022e40
mov esi, eax
cmp esi, 0xffffffff
jne 0x10021698
cmp dword [edi], 0
jne 0x10021860
jmp 0x10021758
test esi, esi
je 0x1002174a
cmp dword [edi + 0x30], 0
jne 0x100216c4
push esi
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1048]
call fcn.100545a0
add esp, 0xc
add dword [ebp - 0x1048], esi
jmp 0x100216fc
push 0
lea eax, [ebp - 0x106c]
mov dword [ebp - 0x106c], 0
push eax
push esi
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1050]
call dword [0x1017f0ec]
cmp dword [ebp - 0x106c], esi
je 0x100216fc
cmp dword [edi], 0
jne 0x10021827
mov eax, dword [edi]
test eax, eax
je 0x10021758
push dword [edi + 0x70]
movsd xmm0, qword [ebp - 0x1018]
mov ecx, dword [ebp - 0x1054]
sub esp, 8
mov esi, dword [eax]
movsd qword [esp], xmm0
push dword [ebp - 0x1028]
push ebx
call fcn.1001ff60
mov ecx, dword [edi]
push eax
call dword [esi + 0xc]
mov ecx, dword [edi]
push dword [edi + 0x70]
mov eax, dword [ebp - 0x105c]
mov esi, dword [ebp - 0x1028]
add eax, esi
mov edx, dword [ecx]
push eax
call dword [edx + 8]
jmp 0x1002175e
push 5
call dword [0x1017f210]
inc dword [ebp - 0x1058]
mov esi, dword [ebp - 0x1028]
xor eax, eax
cmp dword [ebp - 0x1058], 5
ja 0x1002177f
cmp dword [ebp - 0x1024], eax
ja 0x1002177f
jb 0x10021651
cmp esi, ebx
jb 0x10021651
mov esi, dword [ebp - 0x1054]
cmp dword [ebp - 0x1028], ebx
jne 0x1002185b
cmp dword [ebp - 0x1024], eax
jne 0x1002185b
add dword [edi + 4], ebx
mov ecx, dword [edi]
test ecx, ecx
je 0x100217d6
cmp dword [esi + 0x14], 8
jb 0x100217ae
mov esi, dword [esi]
push dword [edi + 0x70]
movsd xmm0, qword [ebp - 0x1018]
mov eax, dword [ecx]
sub esp, 8
movsd qword [esp], xmm0
push ebx
push ebx
push esi
call dword [eax + 0xc]
mov ecx, dword [edi]
push dword [edi + 0x70]
push dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x1044]
call fcn.10022a60
lea ecx, [ebp - 0x1068]
call fcn.10022940
mov al, 1
jmp 0x1002195b
push dword [edi + 0x70]
sub esp, 0x18
mov ecx, esp
push 0x101d7778
call fcn.1001fed0
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x1044]
call fcn.10022a60
lea ecx, [ebp - 0x1068]
call fcn.10022940
jmp 0x10021959
push dword [edi + 0x70]
sub esp, 0x18
mov ecx, esp
push 0x101d778c
call fcn.1001fed0
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x1044]
call fcn.10022a60
lea ecx, [ebp - 0x1068]
call fcn.10022940
jmp 0x10021959
cmp dword [edi], 0
je 0x10021879
push dword [edi + 0x70]
sub esp, 0x18
mov ecx, esp
push 0x101d7768
call fcn.1001fed0
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x1044]
call fcn.10022a60
lea ecx, [ebp - 0x1068]
call fcn.10022940
jmp 0x10021959
cmp dword [edi], 0
je 0x100218b2
push dword [edi + 0x70]
sub esp, 0x18
mov ecx, esp
push 0x101d7768
call fcn.1001fed0
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x1044]
call fcn.10022a60
test ebx, ebx
je 0x10021959
push ebx
call dword [0x1017f324]
jmp 0x10021959
mov eax, dword [ebp - 0x1040]
cmp dword [edi], 0
je 0x100218fb
push dword [edi + 0x70]
sub esp, 0x18
mov ecx, esp
push 0x101d7768
call fcn.1001fed0
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x1040]
mov esi, dword [0x1017f324]
mov dword [ebp - 0x1044], 0x101d77d8
test eax, eax
je 0x1002191a
push eax
call esi
xor eax, eax
mov dword [ebp - 0x1040], eax
mov ecx, dword [ebp - 0x103c]
test ecx, ecx
je 0x10021937
push ecx
call esi
mov eax, dword [ebp - 0x1040]
mov dword [ebp - 0x103c], 0
mov dword [ebp - 0x1044], 0x101d77e4
test eax, eax
je 0x10021952
push eax
call esi
mov dword [ebp - 0x1040], 0
test ebx, ebx
je 0x10021959
push ebx
call esi
xor al, al
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.10031bc0
mov esp, ebp
pop ebp
ret 0xc