Function at 0x100156b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
xor esi, esi
push edi
push 0xff
mov edi, eax
lea eax, [ebp - 0x127]
push esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 8], esi
mov byte [ebp - 0x128], 0
call 0x100459c8
xor ecx, ecx
add esp, 0xc
mov word [ebp - 0x28], cx
cmp edi, esi
je 0x10015b75
cmp dword [ebp + 0xc], esi
je 0x10015b75
cmp dword [ebp + 0x20], esi
je 0x100157b0
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
test eax, eax
je 0x10015749
lea esi, [eax + 0x13]
and esi, 0xfffffff0
push esi
push 8
call dword [0x29850ec]
push eax
call dword [0x2985278]
mov ebx, eax
test ebx, ebx
je 0x10015746
push esi
push 0
push ebx
call 0x100459c8
add esp, 0xc
mov esi, dword [ebp - 8]
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x10015b75
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push edx
push eax
push ebx
call 0x100459c2
add esp, 0xc
xor eax, eax
mov word [ebp - 0x28], 1
xor ecx, ecx
nop
mov byte [ebp + ecx - 0x128], cl
inc ecx
cmp ecx, 0x100
jl 0x10015770
xor esi, esi
mov cl, byte [eax + 0x298992c]
xor byte [ebp + esi - 0x128], cl
inc eax
cmp eax, 0xf
jl 0x10015797
xor eax, eax
inc esi
cmp esi, 0x100
jl 0x10015782
mov edx, dword [ebp + 0x1c]
push ebx
push ebx
lea eax, [ebp - 0x128]
call fcn.10018d60
mov edx, dword [ebp + 8]
push 0x4000000
push 0
push 0
push edx
push 0x2986080
call dword [0x298554c]
mov dword [ebp + 8], eax
test eax, eax
je 0x10015b1a
push 1
push 0
push 3
push 0
push 0
push 0x50
push edi
push eax
call dword [0x2985538]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10015b1a
mov esi, dword [ebp + 0x14]
mov eax, 0x2989460
test esi, esi
je 0x10015803
mov eax, 0x2989458
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
push 1
push 0
push 0
push 0
push 0x298993c
push ecx
push eax
push edx
call dword [0x2985540]
mov dword [ebp - 4], eax
test eax, eax
je 0x10015b1a
mov ebx, dword [0x298552c]
cmp esi, 1
jne 0x1001584e
cmp dword [ebp + 0x24], 0
jne 0x1001584e
push 0x20000000
push 0xffffffffffffffff
push 0x2989948
mov esi, eax
push esi
call ebx
jmp 0x10015851
mov esi, dword [ebp - 4]
push 0x20000000
push 0xffffffffffffffff
push 0x298997c
push esi
call ebx
cmp dword [ebp + 0x24], 0
je 0x10015896
push 0x2999c60
push 0x29899a0
lea eax, [ebp - 0x230]
push 0x104
push eax
call dword [0x298530c]
add esp, 0x10
push 0x20000000
push 0xffffffffffffffff
lea ecx, [ebp - 0x230]
push ecx
push esi
call ebx
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x100158a0
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
push edx
push eax
push 0
push 0
push esi
call dword [0x2985548]
test eax, eax
je 0x10015b1a
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x20000013
push eax
call dword [0x2985524]
test eax, eax
je 0x10015b1a
cmp dword [ebp - 0x14], 0xc8
jne 0x10015b1a
mov esi, dword [ebp + 0x10]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push esi
mov dword [ebp - 8], 1
call dword [0x2985224]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10015b1a
call fcn.10026530
test eax, eax
je 0x10015976
push 0
lea ecx, [ebp + 0xc]
push ecx
push 1
push 0x298ab70
call dword [0x298500c]
test eax, eax
je 0x10015976
lea edx, [ebp + 0x24]
push edx
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp + 0x18]
push ecx
push edx
mov dword [ebp + 0x1c], 0
call dword [0x2985008]
test eax, eax
je 0x1001596c
mov eax, dword [ebp + 0x1c]
push eax
push 0
push 0
push 0
push 0x10
push 1
push esi
call dword [0x298501c]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [0x2985164]
mov edi, dword [0x29850ec]
push 0x1010
push 8
call edi
push eax
call dword [0x2985278]
mov esi, eax
test esi, esi
je 0x10015a5a
push 0x1010
push 0
push esi
call 0x100459c8
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp + 0x20]
push edx
push 0x1000
push esi
push eax
mov dword [ebp + 0x20], 0
call dword [0x298553c]
test eax, eax
je 0x10015a3e
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x10015a3e
push 1
push 0
push 0
push ebx
mov edi, eax
mov dword [ebp + 0x1c], 0
call dword [0x2985228]
push 0
push edi
push 0
push eax
push ebx
mov dword [ebp + 0xc], eax
call dword [0x298523c]
push 0
lea ecx, [ebp + 0x1c]
push ecx
push edi
push esi
push ebx
call dword [0x2985240]
mov edx, dword [ebp + 0xc]
push 0
push edi
push 0
push edx
push ebx
call dword [0x2985238]
push esi
push 0
call dword [0x29850ec]
push eax
call dword [0x29850f0]
test eax, eax
je 0x10015976
push esi
push 0
call dword [0x29850ec]
push eax
call dword [0x298527c]
jmp 0x10015976
push esi
push 0
call edi
push eax
call dword [0x29850f0]
test eax, eax
je 0x10015a5a
push esi
push 0
call edi
push eax
call dword [0x298527c]
test ebx, ebx
je 0x10015a81
lea eax, [ebp + 0x1c]
push eax
push ebx
mov dword [ebp + 0x1c], 0
call dword [0x2985174]
test eax, eax
je 0x10015a81
test byte [ebp + 0x1c], 2
jne 0x10015a81
push ebx
call dword [0x298521c]
mov ebx, dword [ebp + 0x10]
push 0
lea ecx, [ebp - 0x18]
push ecx
mov eax, ebx
call fcn.100080a0
mov esi, eax
test esi, esi
je 0x10015b20
xor eax, eax
mov word [ebp - 0x28], 1
xor ecx, ecx
jmp 0x10015ab0
mov byte [ebp + ecx - 0x128], cl
inc ecx
cmp ecx, 0x100
jl 0x10015ab0
xor ecx, ecx
mov dl, byte [eax + 0x298992c]
xor byte [ebp + ecx - 0x128], dl
inc eax
cmp eax, 0xf
jl 0x10015ad7
xor eax, eax
inc ecx
cmp ecx, 0x100
jl 0x10015ac2
mov edx, dword [ebp - 0x18]
push esi
push esi
lea eax, [ebp - 0x128]
call fcn.10018d60
mov eax, dword [ebp - 0x18]
push eax
push esi
mov eax, ebx
call fcn.10007f50
push esi
push 0
call edi
push eax
call dword [0x29850f0]
test eax, eax
je 0x10015b20
push esi
push 0
call edi
push eax
call dword [0x298527c]
jmp 0x10015b20
mov edi, dword [0x29850ec]
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x10015b43
push esi
push 0
call edi
push eax
call dword [0x29850f0]
test eax, eax
je 0x10015b43
push esi
push 0
call edi
push eax
call dword [0x298527c]
cmp dword [ebp - 4], 0
mov esi, dword [0x2985550]
je 0x10015b55
mov ecx, dword [ebp - 4]
push ecx
call esi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10015b5f
push eax
call esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x10015b69
push eax
call esi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20