Function at 0x100102de
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.10014f74
add esp, 0xc
lea eax, [ebp - 0x288]
push edi
push ebx
push eax
call fcn.10014f74
add esp, 0xc
mov ecx, 0x7ed
call fcn.10009ef4
mov ecx, 0x10d0
mov dword [ebp - 0x38], eax
call fcn.10009ef4
mov ecx, 0xac2
mov dword [ebp - 0x34], eax
call fcn.10009ef4
mov ecx, 0xd05
mov dword [ebp - 0x30], eax
call fcn.10009ef4
mov ecx, 0xb9b
mov dword [ebp - 0x2c], eax
call fcn.10009ef4
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.1000a140
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.1000dd4b
pop ecx
push eax
mov eax, dword [0x10020ed8]
push esi
call dword [eax + 0x28]
test eax, eax
jne 0x100103d2
push 0xfffffffffffffffc
pop eax
jmp 0x100105ec
xor edx, edx
mov dword [ebp - 8], edx
mov esi, edx
mov eax, dword [0x10020ed8]
push 0
push 0
push 0
push dword [ebp + edx*4 - 0x20]
mov dword [ebp - 4], 0x8404f700
push dword [0x10020ff0]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x10010408
call dword [0x1001a148]
jmp 0x1001053b
mov ecx, edi
call fcn.10010276
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 [0x10020ed8]
push edi
call dword [eax + 0x1c]
cmp dword [ebp + 0x1c], 0
mov ebx, eax
je 0x1001043a
mov ecx, dword [ebp + 0x1c]
call fcn.1000c34f
test ebx, ebx
jne 0x10010449
call dword [0x1001a148]
jmp 0x10010530
cmp dword [ebp - 0x68], 4
mov ecx, 0x8484f700
je 0x10010457
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x14], 2
mov eax, 0x1001e01c
je 0x10010467
mov eax, 0x1001e024
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 [0x10020ed8]
push ebx
call dword [eax + 0x20]
cmp dword [ebp + 0x1c], 0
mov esi, eax
mov dword [ebp - 4], esi
je 0x10010495
mov ecx, dword [ebp + 0x1c]
call fcn.1000c34f
test esi, esi
jne 0x100104a4
call dword [0x1001a148]
jmp 0x10010525
cmp dword [ebp - 0x68], 4
jne 0x100104b1
mov ecx, esi
call fcn.10010224
cmp dword [ebp - 0x14], 2
jne 0x100104ee
mov ecx, 0x139d
call fcn.10009ef4
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
push esi
call fcn.1000dd4b
pop ecx
push eax
mov eax, dword [0x10020ed8]
push esi
mov esi, dword [ebp - 4]
push esi
call dword [eax + 0x24]
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], eax
call fcn.1000ac68
jmp 0x10010500
xor eax, eax
push eax
push eax
push eax
push eax
mov eax, dword [0x10020ed8]
push esi
call dword [eax + 0x24]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
je 0x1001050e
mov ecx, dword [ebp + 0x1c]
call fcn.1000c34f
cmp dword [ebp - 4], 0
jne 0x10010558
call dword [0x1001a148]
mov eax, dword [0x10020ed8]
push esi
call dword [eax + 8]
xor esi, esi
mov eax, dword [0x10020ed8]
push ebx
call dword [eax + 8]
xor ebx, ebx
mov eax, dword [0x10020ed8]
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 0x100103d9
test ecx, ecx
jne 0x10010558
push 0xfffffffffffffffe
pop esi
jmp 0x100105bc
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.1000a140
add esp, 0xc
lea eax, [ebp - 0x18]
push 0
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x10020ed8]
push 0x13
push esi
call dword [eax + 0xc]
test eax, eax
jne 0x1001059c
call dword [0x1001a148]
mov dword [ebp - 8], 0xfffffff8
jmp 0x100105b0
lea ecx, [ebp - 0x10]
call fcn.1000c259
cmp eax, 0xc8
je 0x100105db
neg eax
mov dword [ebp - 8], eax
mov eax, dword [0x10020ed8]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 8]
test ebx, ebx
je 0x100105c9
mov eax, dword [0x10020ed8]
push ebx
call dword [eax + 8]
test edi, edi
je 0x100105d7
mov ecx, dword [0x10020ed8]
push edi
call dword [ecx + 8]
mov eax, esi
jmp 0x100105ec
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