Function at 0x10010519
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], ecx
mov edi, 0x100
mov dword [ebp - 0x20], eax
push edi
push eax
mov ebx, eax
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x188]
mov dword [ebp - 0x1c], 1
push eax
mov esi, edx
call fcn.1001536f
add esp, 0xc
lea eax, [ebp - 0x288]
push edi
push ebx
push eax
call fcn.1001536f
add esp, 0xc
xor ecx, ecx
call fcn.1000a05a
mov ecx, 0x3a0
mov dword [ebp - 0x38], eax
call fcn.1000a05a
mov ecx, 0x12ad
mov dword [ebp - 0x34], eax
call fcn.1000a05a
mov ecx, 0x437
mov dword [ebp - 0x30], eax
call fcn.1000a05a
mov ecx, 0xe3d
mov dword [ebp - 0x2c], eax
call fcn.1000a05a
and dword [ebp - 0x24], ebx
push 0x3c
pop edi
push edi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.1000a2a6
lea eax, [ebp - 0x84]
mov dword [ebp - 0x6c], 0x10
mov dword [ebp - 0x70], eax
add esp, 0xc
lea eax, [ebp - 0x188]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x64], eax
mov ecx, 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x74]
push eax
push ebx
push esi
mov dword [ebp - 0x44], ecx
call fcn.1000df7b
pop ecx
push eax
mov eax, dword [0x10020db0]
push esi
call dword [eax + 0x28]
test eax, eax
jne 0x1001060a
push 0xfffffffffffffffc
pop eax
jmp 0x10010824
xor edx, edx
mov dword [ebp - 8], edx
mov esi, edx
mov eax, dword [0x10020db0]
push 0
push 0
push 0
push dword [ebp + edx*4 - 0x20]
mov dword [ebp - 4], 0x8404f700
push dword [0x10020ec8]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x10010640
call dword [0x1001a14c]
jmp 0x10010773
mov ecx, edi
call fcn.100104b1
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push dword [ebp - 0x5c]
lea eax, [ebp - 0x188]
push eax
mov eax, dword [0x10020db0]
push edi
call dword [eax + 0x1c]
cmp dword [ebp + 0x1c], 0
mov ebx, eax
je 0x10010672
mov ecx, dword [ebp + 0x1c]
call fcn.1000c575
test ebx, ebx
jne 0x10010681
call dword [0x1001a14c]
jmp 0x10010768
cmp dword [ebp - 0x68], 4
mov ecx, 0x8484f700
je 0x1001068f
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x14], 2
mov eax, 0x1001e014
je 0x1001069f
mov eax, 0x1001e01c
xor edx, edx
push edx
push ecx
lea ecx, [ebp - 0x38]
push ecx
push edx
push edx
lea ecx, [ebp - 0x288]
push ecx
push eax
mov eax, dword [0x10020db0]
push ebx
call dword [eax + 0x20]
cmp dword [ebp + 0x1c], 0
mov esi, eax
mov dword [ebp - 4], esi
je 0x100106cd
mov ecx, dword [ebp + 0x1c]
call fcn.1000c575
test esi, esi
jne 0x100106dc
call dword [0x1001a14c]
jmp 0x1001075d
cmp dword [ebp - 0x68], 4
jne 0x100106e9
mov ecx, esi
call fcn.1001045f
cmp dword [ebp - 0x14], 2
jne 0x10010726
mov ecx, 0x3d3
call fcn.1000a05a
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push esi
call fcn.1000df7b
pop ecx
push eax
mov eax, dword [0x10020db0]
push esi
mov esi, dword [ebp - 4]
push esi
call dword [eax + 0x24]
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], eax
call fcn.1000ae65
jmp 0x10010738
xor eax, eax
push eax
push eax
push eax
push eax
mov eax, dword [0x10020db0]
push esi
call dword [eax + 0x24]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
je 0x10010746
mov ecx, dword [ebp + 0x1c]
call fcn.1000c575
cmp dword [ebp - 4], 0
jne 0x10010790
call dword [0x1001a14c]
mov eax, dword [0x10020db0]
push esi
call dword [eax + 8]
xor esi, esi
mov eax, dword [0x10020db0]
push ebx
call dword [eax + 8]
xor ebx, ebx
mov eax, dword [0x10020db0]
push edi
call dword [eax + 8]
xor edi, edi
mov edx, dword [ebp - 8]
mov ecx, esi
inc edx
mov eax, ebx
mov dword [ebp - 8], edx
cmp edx, 2
jl 0x10010611
test ecx, ecx
jne 0x10010790
push 0xfffffffffffffffe
pop esi
jmp 0x100107f4
push 8
pop eax
xor ecx, ecx
mov dword [ebp - 0x18], eax
push eax
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ecx
push eax
mov dword [ebp - 0xc], ecx
call fcn.1000a2a6
add esp, 0xc
lea eax, [ebp - 0x18]
push 0
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x10020db0]
push 0x13
push esi
call dword [eax + 0xc]
test eax, eax
jne 0x100107d4
call dword [0x1001a14c]
mov dword [ebp - 8], 0xfffffff8
jmp 0x100107e8
lea ecx, [ebp - 0x10]
call fcn.1000c47f
cmp eax, 0xc8
je 0x10010813
neg eax
mov dword [ebp - 8], eax
mov eax, dword [0x10020db0]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 8]
test ebx, ebx
je 0x10010801
mov eax, dword [0x10020db0]
push ebx
call dword [eax + 8]
test edi, edi
je 0x1001080f
mov ecx, dword [0x10020db0]
push edi
call dword [ecx + 8]
mov eax, esi
jmp 0x10010824
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret