Function at 0x10157700
Capabilities:
Check http status code

Disassembly:
sub esp, 0x114
mov eax, dword [0x1021e964]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x120]
push ebx
mov ebx, dword [esp + 0x120]
push ebp
mov ebp, dword [esp + 0x120]
push esi
mov dword [esp + 0x18], eax
xor esi, esi
push edi
mov eax, ebx
mov byte [esp + 0x13], 1
and eax, 0xf0
mov dword [0x1021d6d4], esi
push 0xc8
xor edi, edi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.101a4190
mov eax, dword [esp + 0x140]
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x48], xmm0
test ebp, ebp
jne 0x101577f0
test bl, 0x30
je 0x101577e1
test bl, 2
jne 0x101577e1
mov dword [esp + 0x38], 0x3e0006
mov dword [esp + 0x3c], 0x1f41606
mov dword [esp + 0x40], 0xd0a07e7
mov dword [esp + 0x44], esi
test bl, 0x20
je 0x101577d3
push 0xc7
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
push ebx
push 1
call fcn.10156470
add esp, 0x14
mov esi, eax
cmp esi, 0xc8
jae 0x10157a1b
mov byte [esp + esi + 0x58], 0
jmp 0x1015798d
mov esi, 0x10
lea edi, [esp + 0x38]
jmp 0x10157998
mov dword [0x1021d6d4], 4
jmp 0x101579fa
push ebx
push ebp
call fcn.101605a0
test eax, eax
je 0x101579fa
cmp dword [esp + 0x134], esi
je 0x1015781a
lea eax, [esp + 0x1c]
push eax
call fcn.1015a530
test eax, eax
je 0x101579fa
mov eax, ebx
shr eax, 0x10
and eax, 1
test byte [0x1021d6d0], 4
mov dword [0x1021d6f8], eax
je 0x1015783f
mov dword [0x1021d6d4], 0x26
jmp 0x101579fa
test bl, 0x30
je 0x101578f1
mov eax, dword [0x1021d6d8]
push 0x30
push 0x14
push 0x2c
mov dword [esp + 0x24], eax
mov dword [0x1021d6d8], 0x13
call fcn.1015ba70
test eax, eax
je 0x101579fa
mov ecx, dword [0x1021d6ec]
mov dword [eax + 8], ecx
mov ecx, dword [0x1021d6d8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0x20
mov ecx, dword [0x1021d6d8]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
push ecx
push eax
push dword [0x1021d71c]
mov dword [esp + 0x34], 0x20
call fcn.10160ce0
add esp, 0xc
mov esi, eax
cmp dword [0x1021d6d4], edi
jne 0x101579fa
cmp esi, 0x20
ja 0x101579fa
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x38]
mov dword [0x1021d6d8], eax
test al, 2
je 0x101578ec
test al, 1
je 0x10157938
cmp word [esp + 0x48], 0
jne 0x101578f1
and ebx, 0xfffffffd
mov esi, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10157956
call fcn.1015be80
cmp eax, 0x81
ja 0x101577e1
mov ecx, dword [eax*4 + 0x1021d370]
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10157915
sub esi, edx
je 0x101577e1
push esi
push ecx
lea eax, [esp + 0x60]
push eax
call fcn.101a3c10
add esp, 0xc
jmp 0x101577bd
cmp word [esp + 0x48], 0
jne 0x10157948
and ebx, 0xfffffffd
mov byte [esp + 0x13], 0
mov esi, ebx
lea edi, [esp + 0x48]
and esi, 2
shl esi, 3
jmp 0x101578f1
test al, 0x20
jne 0x10157963
test bl, 8
je 0x10157991
test al, 0x10
je 0x10157991
cmp byte [esp + 0x13], 0
je 0x10157985
push 0xc8
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
push ebx
push ebp
call fcn.10156470
add esp, 0x14
mov esi, eax
test esi, esi
je 0x101577e1
lea edi, [esp + 0x58]
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x101579da
cmp eax, esi
jb 0x101579da
mov eax, dword [esp + 0x14]
test eax, eax
je 0x101579c7
test al, 0x20
jne 0x101579c7
push esi
push edi
push ecx
mov dword [0x1021d6d4], 0
call fcn.101a3c10
add esp, 0xc
jmp 0x101579fa
push dword [0x1021d6f8]
push esi
push edi
push dword [esp + 0x28]
call fcn.101609a0
jmp 0x101579fa
test eax, eax
jne 0x101579f0
mov dword [0x1021d6d4], eax
test bl, 0x20
lea eax, [esi + 1]
cmove eax, esi
mov esi, eax
jmp 0x101579fa
mov dword [0x1021d6d4], 5
push esi
call fcn.10160980
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1018d760
add esp, 0x114
ret 0x10
call fcn.1018e361
int3