Function at 0x10002474
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0x28]
xor ecx, ecx
mov dword [ebp - 0xc], edx
test edi, edi
je 0x1000248b
mov dword [edi], ecx
mov ebx, dword [ebp + 0x2c]
test ebx, ebx
je 0x10002494
mov dword [ebx], ecx
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x1000249d
mov dword [eax], ecx
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x100024a6
mov dword [eax], ecx
push ecx
push ecx
push ecx
xor esi, esi
push ecx
inc esi
push 0xa096160
mov dword [ebp - 8], ecx
mov dword [ebp - 4], esi
call dword [0xa09608c]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10002674
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push ecx
push 0x50
push dword [ebp - 0xc]
push eax
call dword [0xa096074]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1000266b
xor ecx, ecx
push ecx
push 0x84000000
push ecx
push ecx
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [0xa096084]
mov esi, eax
test esi, esi
je 0x1000265f
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
call dword [0xa096088]
test eax, eax
je 0x10002658
test edi, edi
je 0x1000257c
test ebx, ebx
je 0x1000257c
xor ecx, ecx
push ecx
lea eax, [ebp + 0x28]
push eax
push ecx
push 0x16
push esi
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x28], ecx
call dword [0xa096078]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x10002575
lea ecx, [eax + 1]
call fcn.100033c0
push 0
lea ecx, [ebp + 0x28]
push ecx
push eax
push 0x16
push esi
mov dword [ebp + 0x2c], eax
call dword [0xa096078]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x2c]
mov byte [ecx + edx], 0
mov eax, dword [ebp + 0x28]
jmp 0x10002578
mov edx, dword [ebp + 0x2c]
mov dword [edi], edx
mov dword [ebx], eax
push 0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000013
push esi
mov dword [ebp + 0xc], 4
call dword [0xa096078]
test eax, eax
je 0x10002658
cmp dword [ebp - 8], 0xc8
jne 0x10002658
and dword [ebp + 0x2c], 0
mov ecx, 0x2000
xor edi, edi
call fcn.100033c0
and dword [ebp + 0x28], edi
mov ebx, eax
mov dword [ebp + 0x1c], ebx
jmp 0x10002613
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x10002649
add eax, dword [ebp + 0x2c]
mov ecx, eax
mov dword [ebp + 0x20], eax
call fcn.100033c0
push dword [ebp + 0x2c]
mov edx, edi
mov ecx, eax
mov dword [ebp + 0x10], eax
call fcn.10003330
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0x28]
add ecx, dword [ebp + 0x2c]
mov edx, ebx
call fcn.10003330
test edi, edi
je 0x10002606
mov ecx, edi
call fcn.100033d0
mov eax, dword [ebp + 0x20]
mov edi, dword [ebp + 0x10]
and dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], eax
lea eax, [ebp + 0x28]
push eax
push 0x2000
push ebx
push esi
call dword [0xa09607c]
test eax, eax
jne 0x100025c8
xor ebx, ebx
inc ebx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 4], ebx
call fcn.100033d0
test ebx, ebx
jne 0x1000264d
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x30]
mov dword [eax], edi
jmp 0x10002658
xor ebx, ebx
jmp 0x1000262b
test edi, edi
je 0x10002658
mov ecx, edi
call fcn.100033d0
push esi
call dword [0xa096080]
push dword [ebp - 0xc]
call dword [0xa096080]
mov esi, dword [ebp - 4]
push dword [ebp - 0x10]
call dword [0xa096080]
xor eax, eax
pop edi
test esi, esi
pop esi
sete al
pop ebx
leave
ret 0x30