Function at 0x30a2166
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp byte [esi + 0x140], 0
jne 0x30a224e
cmp byte [esi + 0x724], 0
jne 0x30a224e
push 0xf
push edi
push 0x10082094
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a224e
lea eax, [ebp - 8]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.030a9646
add esp, 0x10
test eax, eax
jne 0x30a21e6
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], eax
xor eax, eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x88], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x30a2234
mov eax, dword [esi + 0x500]
or eax, dword [esi + 0x504]
je 0x30a2213
push 0x10083180
push esi
call fcn.03096c76
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push dword [ebp + 0xc]
call fcn.030976b6
push 0x1008319c
push esi
call fcn.03096d36
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100831bc
push esi
call fcn.03096c76
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xd
push edi
push 0x10082c60
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a22b3
push edi
call fcn.030a11a6
mov edi, eax
add esp, 4
test edi, edi
jne 0x30a227d
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0
jne 0x30a2295
push edi
call dword [0x100928d0]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0xd94]
call dword [0x100928d0]
add esp, 4
mov dword [esi + 0xd94], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
cmp byte [ebx + 0x114], 0xa
jne 0x30a22fe
cmp byte [ebx + 0x244], 0
je 0x30a22fe
push 0x100831dc
push 0x10082150
push edi
call fcn.030a10d6
add esp, 0xc
test al, al
je 0x30a22fe
push 0
push ebx
call fcn.030976b6
push 0x100831e8
push esi
call fcn.03096d36
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x114], 0xb
jne 0x30a2346
cmp byte [ebx + 0x244], 0
je 0x30a2346
push 0x100820d8
push 0x10082150
push edi
call fcn.030a10d6
add esp, 0xc
test al, al
je 0x30a2346
push 1
push ebx
call fcn.030976b6
push 0x10083218
push esi
call fcn.03096d36
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x114], 0xa
jne 0x30a2385
push 0x100831dc
push 0x100820e0
push edi
call fcn.030a10d6
add esp, 0xc
test al, al
je 0x30a2385
push 0
push ebx
call fcn.030976b6
push 0x10083240
push esi
call fcn.03096d36
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100820d8
push 0x100820e0
push edi
call fcn.030a10d6
add esp, 0xc
test al, al
je 0x30a23b0
push 2
push ebx
call fcn.030976b6
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x140], 0
jne 0x30a2453
push 0x12
push edi
push 0x100820ec
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a240f
push 1
lea eax, [edi + 0x12]
push eax
push esi
call fcn.0309b336
add esp, 0xc
test eax, eax
jne 0x30a294e
cmp byte [esi + 0x141], al
jne 0x30a294c
push 1
push ebx
call fcn.030976b6
add esp, 8
mov byte [esi + 0x142], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x140], 0
jne 0x30a2453
push 0x11
push edi
push 0x10083268
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a2453
cmp dword [esi + 0x558], 0
je 0x30a2453
push 0
lea eax, [edi + 0x11]
push eax
push esi
call fcn.0309b336
add esp, 0xc
test eax, eax
je 0x30a294c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xc
push edi
push 0x1008327c
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a24dc
lea eax, [edi + 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 8], xmm0
mov dword [ebp + 8], eax
call fcn.030a97a6
mov ebx, eax
add esp, 4
mov edi, edx
cmp ebx, 0xffffffff
jne 0x30a24b9
cmp edi, eax
jne 0x30a24b9
lea eax, [ebp - 8]
push eax
push 0xa
push 0
push dword [ebp + 8]
call fcn.030a9646
mov edi, dword [ebp - 4]
add esp, 0x10
mov ebx, dword [ebp - 8]
xor eax, eax
mov dword [esi + 0xda4], edi
mov dword [esi + 0xda0], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.030caf1b
add esp, 4
sub ebx, eax
mov dword [esi + 0xda0], ebx
sbb edi, edx
xor eax, eax
mov dword [esi + 0xda4], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x140], 0
jne 0x30a259e
push 0xe
push edi
push 0x1008328c
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a259e
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x30a2528
movzx eax, al
push eax
call fcn.030bdbe6
add esp, 4
test eax, eax
jne 0x30a2528
cmp byte [edi], 0x2a
je 0x30a2528
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x30a250b
movzx eax, byte [edi]
push eax
call fcn.030bdbe6
add esp, 4
test eax, eax
je 0x30a2581
lea ebx, [esi + 0xe8]
push ebx
push 0xa
push 0
push edi
call fcn.030a9646
add esp, 0x10
test eax, eax
jne 0x30a294c
mov eax, dword [esi + 0xc60]
cmp eax, dword [ebx]
jne 0x30a294c
mov eax, dword [esi + 0xc64]
cmp eax, dword [ebx + 4]
jne 0x30a294c
pop edi
mov byte [esi + 0x13d], 1
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0xc60], 0
xor eax, eax
mov dword [esi + 0xc64], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x740], 0
je 0x30a26c6
cmp byte [esi + 0xd2b], 0
je 0x30a26c6
push 0xb
push edi
push 0x1008045c
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a26c6
mov ecx, dword [esi + 0xd00]
mov dword [ebp + 8], ecx
test ecx, ecx
jne 0x30a25e3
mov ecx, dword [ebx + 0x64]
mov dword [ebp + 8], ecx
mov eax, dword [ebx + 0x290]
test byte [eax + 0x44], 2
jne 0x30a2678
push ecx
push 0x100806f4
call fcn.0309af96
mov ebx, dword [ebp + 8]
add esp, 8
test eax, eax
jne 0x30a267b
mov ecx, 0x100827e4
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x30a2636
test dl, dl
je 0x30a2632
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x30a2636
add eax, 2
add ecx, 2
test dl, dl
jne 0x30a2616
xor eax, eax
jmp 0x30a263b
sbb eax, eax
or eax, 1
test eax, eax
je 0x30a267b
mov ecx, 0x10082eb8
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x30a2666
test dl, dl
je 0x30a2662
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x30a2666
add eax, 2
add ecx, 2
test dl, dl
jne 0x30a2646
xor eax, eax
jmp 0x30a266b
sbb eax, eax
or eax, 1
test eax, eax
je 0x30a267b
mov dword [ebp + 8], 0
jmp 0x30a2682
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], 1
push 2
push 2
push esi
call fcn.0309b566
cmp dword [ebp + 8], 0
setne al
movzx eax, al
push eax
push dword [esi + 0xcb0]
lea eax, [edi + 0xb]
push ebx
push eax
push 0
push 1
push dword [esi + 0x740]
push esi
call fcn.0308c7c6
push 2
push esi
call fcn.0309b5a6
add esp, 0x34
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x140], 0
jne 0x30a2731
push 0xe
push edi
push 0x1008329c
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a2731
cmp dword [esi + 0x3ec], 0
jne 0x30a26f5
cmp byte [esi + 0x709], 0
je 0x30a2731
lea eax, [edi + 0xe]
push eax
call fcn.030a97a6
add esp, 4
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edx
cmp byte [esi + 0x709], 0
je 0x30a294c
mov dword [esi + 0xd70], eax
mov eax, edx
pop edi
mov dword [esi + 0xd74], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x11
push edi
push 0x1008206c
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a2752
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
je 0x30a2773
push 0x13
push edi
push 0x10082080
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a27b6
mov eax, dword [esi + 0xf0]
cmp eax, 0x197
jne 0x30a27b6
cmp eax, 0x197
push edi
sete byte [ebp + 8]
call fcn.030a11a6
mov edi, eax
add esp, 4
test edi, edi
je 0x30a2271
push edi
push dword [ebp + 8]
push esi
call fcn.030a2b86
push edi
mov esi, eax
call dword [0x100928d0]
add esp, 0x10
test esi, esi
je 0x30a294c
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xf0]
cmp eax, 0x12c
jl 0x30a285c
cmp eax, 0x190
jge 0x30a285c
push 9
push edi
push 0x100832ac
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a285c
cmp dword [esi + 0x124], 0
jne 0x30a285c
push edi
call fcn.030a11a6
add esp, 4
test eax, eax
je 0x30a2271
cmp byte [eax], 0
jne 0x30a2818
push eax
call dword [0x100928d0]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x716], 0
mov dword [esi + 0x124], eax
je 0x30a294c
push eax
call dword [0x100928d8]
add esp, 4
mov dword [esi + 0x128], eax
test eax, eax
je 0x30a2271
push ebx
push esi
call fcn.030a43c6
add esp, 8
test eax, eax
je 0x30a294c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x744], 0
je 0x30a28bc
push 0x1a
push edi
push 0x100832b8
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a28bc
mov eax, dword [ebx + 0x290]
test byte [eax + 0x4c], 1
je 0x30a28bc
lea eax, [edi + 0x1a]
push eax
push dword [esi + 0xc9c]
push dword [esi + 0x744]
call fcn.0309a616
add esp, 0xc
test eax, eax
je 0x30a294c
push 0x100832d4
push esi
call fcn.03096d36
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x748], 0
je 0x30a292f
push 8
push edi
push 0x100832f0
call fcn.0309b126
add esp, 0xc
test eax, eax
je 0x30a292f
mov eax, dword [ebx + 0x290]
test byte [eax + 0x4c], 1
je 0x30a292f
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp byte [eax + 0x114], 0x14
push dword [eax + 0xc8]
sete bl
lea ebx, [ebx*8 + 8]
call fcn.03099306
movzx eax, ax
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0x64]
lea eax, [edi + 8]
push ebx
push eax
push dword [esi + 0x748]
push esi
call fcn.03099936
add esp, 0x1c
test eax, eax
je 0x30a294c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x290]
test dword [eax + 0x44], 0x40000
je 0x30a294c
push edi
push esi
call fcn.030b3636
add esp, 8
test eax, eax
jne 0x30a294e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret