Function at 0x1003188b
Capabilities:
Check http status code

Disassembly:
push ebp
lea ebp, [esp - 0x2230]
mov eax, 0x2230
call fcn.1001a520
push 0xffffffffffffffff
push 0x1004810c
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10058e78]
xor eax, ebp
mov dword [ebp + 0x222c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x223c]
mov esi, dword [ebp + 0x2238]
xor ebx, ebx
mov byte [0x1005a1d3], 0x1f
cmp dword [eax + 0x18], 8
mov byte [ebp - 0x15], bl
jb 0x100318eb
mov eax, dword [eax + 4]
jmp 0x100318ee
add eax, 4
push ebx
push ebx
push 2
push ebx
push ebx
push 0x10000000
mov edi, eax
call fcn.100282d2
add esp, 0x18
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x10031918
dec byte [0x1005a1d3]
xor al, al
jmp 0x10031cbe
lea eax, [ebp]
push eax
call fcn.10030a4e
pop ecx
inc byte [0x1005a1d1]
cmp dword [ebp + 0x18], 8
mov edi, dword [ebp + 4]
mov dword [ebp - 4], ebx
jae 0x10031937
lea edi, [ebp + 4]
push ebx
push ebx
push ebx
push ebx
call fcn.1002843f
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x10031c9e
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x1c], 0x800
jb 0x10031965
lea eax, [esi + 4]
mov edi, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x1003196b
lea edi, [esi + 4]
mov dword [ebp - 0x14], edi
push ebx
push 2
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.100285c0
mov al, byte [0x1005a1d3]
add esp, 0x10
test byte [0x1005d1b4], 1
push 0x35
mov byte [0x1005a1d1], al
pop eax
push 0x41
mov word [ebp + 0x221c], ax
pop eax
push 0x3d
mov word [ebp + 0x221e], ax
mov word [ebp + 0x2220], ax
pop eax
push 0x40
mov word [ebp + 0x2222], ax
pop eax
mov word [ebp + 0x2224], ax
push 7
pop eax
mov word [ebp + 0x2226], ax
mov eax, 0xfffc
mov ecx, eax
mov word [ebp + 0x2228], cx
mov word [ebp + 0x222a], ax
jne 0x10031a09
or dword [0x1005d1b4], 1
lea eax, [ebp + 0x221c]
push eax
mov ecx, 0x1005d1b0
mov byte [ebp - 4], 1
call fcn.10027283
push 0x1004a9ca
call fcn.1001713b
pop ecx
mov byte [ebp - 4], bl
cmp dword [esi + 0x18], 8
jb 0x10031a16
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
jmp 0x10031a19
mov edi, dword [ebp - 0x14]
push dword [0x1005d1b0]
call fcn.1002871f
mov edi, dword [ebp - 0x2c]
test eax, eax
setne byte [ebp - 0xd]
movzx eax, byte [ebp - 0xd]
push ebx
push ebx
push 3
neg eax
push ebx
sbb eax, eax
and eax, 0x1bb
push ebx
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.10028869
mov dword [ebp - 0x20], eax
mov eax, 0x1eb
cdq
idiv dword [0x1005a1cc]
mov eax, dword [0x1005a1c8]
movzx eax, byte [edx + eax]
push eax
call fcn.1002708d
add esp, 0x24
cmp dword [ebp - 0x20], ebx
je 0x10031c96
push 0xffffffffffffffb8
mov byte [0x1005a1d1], 0xb8
call fcn.1002708d
call fcn.100270d9
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.100171f0
add esp, 0x10
mov byte [0x1005a1d3], 0x81
cmp dword [esi + 0x18], 8
lea eax, [ebp + 0x101c]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0x800
jb 0x10031abf
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
jmp 0x10031ac2
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x80]
push eax
push 0x10000000
push ebx
call fcn.10028a11
xor eax, eax
cmp byte [ebp - 0xd], bl
mov edi, dword [ebp - 0x20]
sete al
push ebx
dec eax
and eax, 0x803000
add eax, 0x84000100
push eax
push ebx
push ebx
push ebx
lea eax, [ebp + 0x101c]
push eax
push ebx
call fcn.10028ba9
add esp, 0x28
mov dword [ebp - 0x14], eax
mov byte [0x1005a1d3], bl
cmp eax, ebx
je 0x10031c8e
mov esi, dword [0x1005a1cc]
mov eax, 0x321
cdq
idiv esi
mov edi, dword [0x1005a1c8]
mov al, byte [edx + edi]
mov byte [0x1005a1d0], al
mov dword [ebp - 0x34], ebx
call fcn.1002702a
call fcn.100270d9
mov eax, 0x1e5
cdq
idiv esi
movzx eax, byte [edx + edi]
push eax
call fcn.1002706d
mov cl, 0x62
sub cl, al
movzx eax, cl
push eax
call fcn.1002708d
pop ecx
pop ecx
call fcn.100270d9
push 4
pop esi
cmp byte [ebp - 0xd], bl
je 0x10031b9d
mov al, byte [0x1005a1d2]
mov edi, dword [ebp - 0x14]
mov cl, 0xa7
imul cl
mov byte [0x1005a1d2], al
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x1f
mov dword [ebp - 0x1c], esi
call fcn.10028d5d
or dword [ebp - 0x28], 0x1380
push esi
lea eax, [ebp - 0x28]
push eax
push 0x1f
call fcn.10028f13
add esp, 0x18
mov edi, dword [ebp - 0x14]
push ebx
push ebx
push ebx
push ebx
call fcn.100290b2
add esp, 0x10
test eax, eax
je 0x10031c86
call fcn.100270d9
mov byte [0x1005a1d2], al
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x20000013
mov dword [ebp - 0x1c], esi
call fcn.1002924b
add esp, 0x10
cmp dword [ebp - 0x40], 0xc8
jne 0x10031c86
inc byte [0x1005a1d3]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
call fcn.1002702a
or dword [ebp - 0x1c], 0xffffffff
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000005
call fcn.100293da
push 0x200
lea eax, [ebp + 0x201c]
push ebx
push eax
call fcn.100171f0
lea eax, [ebp - 0x24]
push eax
mov esi, 0x1ff
lea eax, [ebp + 0x201c]
push esi
push eax
call fcn.10029569
add esp, 0x28
jmp 0x10031c7e
cmp dword [ebp - 0x24], ebx
je 0x10031c82
mov edi, dword [ebp - 0x30]
push ebx
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x24]
lea eax, [ebp + 0x201c]
push eax
call fcn.100296ed
dec byte [0x1005a1d1]
mov edi, dword [ebp - 0x14]
inc byte [0x1005a1d3]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x201c]
push esi
push eax
call fcn.10029569
add esp, 0x1c
test eax, eax
jne 0x10031c3f
mov byte [ebp - 0x15], 1
mov edi, dword [ebp - 0x14]
call fcn.1002984a
mov edi, dword [ebp - 0x20]
call fcn.100299d1
mov edi, dword [ebp - 0x2c]
call fcn.10029b58
mov edi, dword [ebp - 0x30]
call fcn.10029cdf
mov al, byte [0x1005a1d2]
push ebx
push 1
lea ecx, [ebp]
mov byte [0x1005a1d3], al
call fcn.10003bc5
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x222c]
xor ecx, ebp
call fcn.10016eaf
add ebp, 0x2230
leave
ret