Function at 0x4c9360
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp dword [ebx + edi*4 + 0x56c], 2
mov ecx, dword [ebx + edi*4 + 0x190]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
je 0x4c9da8
mov dword [ebx + 0x2c0], eax
cmp dword [ebx + edi*4 + 0x56c], eax
jne 0x4c95ff
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push edi
push edx
push 0x4fc798
push esi
call fcn.004ae320
mov eax, dword [esi + 0x10c]
push eax
call dword [0x5114c4]
add esp, 0x14
mov dword [esi + 0x10c], 0
call fcn.004c4350
mov dword [ebp - 4], eax
test eax, eax
je 0x4c9bd4
mov ecx, dword [ebp + 0x10]
push edi
push ecx
push 0x4fc790
call fcn.004b2fc0
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4c9bc8
push 1
mov edx, eax
push edx
push 0x4fc788
push ebx
call fcn.004c3f70
mov edi, eax
mov eax, dword [ebp - 0x10]
push eax
call dword [0x5114c4]
add esp, 0x14
test edi, edi
jne 0x4c95db
cmp dword [ebx + 0xe8], 1
mov eax, 0x500f7c
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], 0x4fb36c
je 0x4c9456
mov dword [ebp - 0x1c], 0x4fb370
mov edi, dword [ebp + 0x10]
mov eax, dword [ebx + 0x280]
cmp edi, dword [ebx + 0x98]
je 0x4c9478
push 0x3a
push edi
call fcn.004d93b0
add esp, 8
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x4c9488
mov ecx, 0x505874
mov eax, 0x50586c
jmp 0x4c948f
mov ecx, 0x500f7c
mov eax, ecx
mov edx, dword [ebp + 0x14]
push edx
push ecx
push edi
push eax
push 0x4fc77c
call fcn.004b2fc0
mov edi, eax
add esp, 0x14
mov dword [ebp - 0x20], edi
test edi, edi
je 0x4c9be0
push 0x4fb494
push ebx
call fcn.004c39d0
add esp, 8
test eax, eax
jne 0x4c94db
push edi
push 0x4fc770
call fcn.004b2fc0
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4c9bf8
push 0x4fb6c8
push ebx
call fcn.004c39d0
add esp, 8
test eax, eax
jne 0x4c94f4
mov dword [ebp - 0xc], 0x4fb6a8
push 0x4f893c
push ebx
call fcn.004c39d0
add esp, 8
test eax, eax
jne 0x4c9517
cmp dword [esi + 0x49c], eax
je 0x4c9517
mov eax, dword [ebx + 0x318]
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x314]
test ecx, ecx
jne 0x4c9526
mov ecx, 0x500f7c
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4c9532
mov eax, 0x500f7c
mov edx, dword [ebp - 0xc]
push edx
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push ecx
push 0x4fc750
push edx
call fcn.004c4cb0
add esp, 0x20
cmp dword [ebp - 0x10], 0
mov edi, eax
je 0x4c956a
mov eax, dword [ebp - 0x10]
push eax
call dword [0x5114c4]
add esp, 4
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x5114c4]
add esp, 4
test edi, edi
jne 0x4c95c2
mov edx, dword [ebp - 4]
push edx
push 1
push ebx
call fcn.004c4da0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4c95c2
mov eax, dword [ebp - 4]
push 0x5013d8
push eax
call fcn.004c4cb0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4c95c2
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov eax, dword [ebp - 4]
lea edx, [esi + 0x4854]
push edx
push ebx
push eax
call fcn.004c4390
add esp, 0x14
mov edi, eax
mov dword [ebp - 4], 0
test edi, edi
je 0x4c95db
push 0x4fc730
push esi
call fcn.004ae3a0
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
call fcn.004c4360
add esp, 4
test edi, edi
jne 0x4c9c17
mov edx, dword [ebp + 0xc]
mov dword [ebx + edx*4 + 0x56c], 1
mov edi, edx
push 1
push 0
push esi
call fcn.004b0350
add esp, 0xc
test edx, edx
jl 0x4c9c20
jg 0x4c961e
test eax, eax
je 0x4c9c20
cmp dword [ebp + 0x18], 0
jne 0x4c9636
push edi
push ebx
call fcn.004b0e90
add esp, 8
test eax, eax
je 0x4c9da8
mov edi, dword [esi + 0x6cc]
xor eax, eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov edi, edi
cmp dword [ebp - 0xc], 0
je 0x4c9b21
push ebx
call fcn.004cac00
add esp, 4
test eax, eax
jne 0x4c9c3a
mov eax, dword [esi + 0x6cc]
add eax, 0x4000
cmp dword [ebp - 4], eax
jae 0x4c9c46
push 1
push 0
push esi
call fcn.004b0350
add esp, 0xc
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
test edx, edx
jl 0x4c9ac8
jg 0x4c96a4
test eax, eax
jbe 0x4c9ac8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x2c]
push ecx
push 1
push edx
push eax
push ebx
call fcn.004ae0a0
add esp, 0x14
cmp eax, 0x51
jne 0x4c970b
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jg 0x4c96d7
jl 0x4c96d2
cmp dword [ebp - 0x40], 0x3e8
jae 0x4c96d7
mov eax, dword [ebp - 0x40]
jmp 0x4c96de
mov eax, 0x3e8
xor ecx, ecx
push ecx
mov ecx, dword [ebp - 0x24]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
call fcn.004a2960
add esp, 0x14
cmp eax, 0xffffffff
je 0x4c9adc
cmp dword [ebp - 0x10], 0x4000
jb 0x4c9650
jmp 0x4c9b21
test eax, eax
jne 0x4c9b21
cmp dword [ebp - 0x2c], eax
jle 0x4c9ae3
mov eax, 1
add dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], eax
jle 0x4c97b1
mov eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x34]
mov edx, dword [esi + 0x6cc]
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], edx
je 0x4c9769
or eax, 0xffffffff
add dword [ebp - 0x38], eax
adc dword [ebp - 0x34], eax
js 0x4c9b21
jg 0x4c9650
cmp dword [ebp - 0x38], 0
jbe 0x4c9b21
jmp 0x4c9650
lea ecx, [ebp - 0x20]
push ecx
push 1
push edx
push ebx
mov dword [ebp - 0x20], 0
call fcn.004d3e50
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4c9650
push 0x4fc71c
push esi
call fcn.004ae320
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [ebp - 0xc], 0
mov dword [ebx + eax*4 + 0x56c], 2
jmp 0x4c9650
mov ecx, dword [ebp - 4]
add dword [ebp - 8], eax
cmp byte [ecx], 0xa
je 0x4c97c4
add dword [ebp - 4], eax
jmp 0x4c96f9
cmp dword [esi + 0x3b4], 0
je 0x4c97de
mov edx, dword [ebp - 8]
push ebx
push edx
push edi
push 1
push esi
call fcn.004ae240
add esp, 0x14
cmp dword [esi + 0x39c], 0
mov eax, 2
je 0x4c97f1
mov eax, 3
mov ecx, dword [ebp - 8]
push ecx
push edi
push eax
push ebx
call fcn.004ae7a0
mov ecx, dword [ebp - 8]
add dword [esi + 0x4850], ecx
add dword [esi + 0x80], ecx
add esp, 0x10
test eax, eax
jne 0x4c9daa
mov al, byte [edi]
cmp al, 0xd
je 0x4c99df
cmp al, 0xa
je 0x4c99df
push 0x11
mov edx, ecx
push edi
push 0x4fb9ac
mov byte [edx + edi], 0
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c9850
mov eax, dword [esi + 0xc8]
cmp eax, 0x191
je 0x4c9871
push 0x13
push edi
push 0x4fb998
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c98bd
mov eax, dword [esi + 0xc8]
cmp eax, 0x197
jne 0x4c98bd
xor ecx, ecx
cmp eax, 0x197
sete cl
push edi
mov dword [ebp - 0x20], ecx
call fcn.004c3a40
mov edi, eax
add esp, 4
test edi, edi
je 0x4c9bd4
mov edx, dword [ebp - 0x20]
push edi
push edx
push ebx
call fcn.004c4080
push edi
mov dword [ebp - 0x20], eax
call dword [0x5114c4]
add esp, 0x10
cmp dword [ebp - 0x20], 0
je 0x4c99ca
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf
push edi
push 0x4f8850
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c990c
mov ecx, dword [esi + 0xc8]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
je 0x4c9c60
push 0xa
push 0
add edi, 0xf
push edi
call fcn.004dc9b7
add esp, 0xc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
jmp 0x4c99ca
push 0x4fba58
push 0x4fba24
push edi
call fcn.004c4610
add esp, 0xc
test eax, eax
je 0x4c992f
mov dword [ebp - 0x14], 1
jmp 0x4c99ca
push 0x4fb858
push 0x4fb464
push edi
call fcn.004c4610
add esp, 0xc
test eax, eax
je 0x4c9981
mov eax, 0x51eb851f
imul dword [esi + 0xc8]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
je 0x4c9c7b
push 0x4fc700
push esi
call fcn.004ae320
push ebx
mov dword [ebp - 0x28], 1
call fcn.004d3e30
add esp, 0xc
jmp 0x4c99ca
push 0x4fba58
push 0x4fb6c8
push edi
call fcn.004c4610
add esp, 0xc
test eax, eax
je 0x4c99a1
mov dword [ebp - 0x14], 1
jmp 0x4c99ca
lea ebx, [esi + 0xc8]
push ebx
lea edx, [ebp - 0x30]
push edx
push 0x4fc6f0
push edi
call fcn.004d94dc
add esp, 0x10
cmp eax, 2
jne 0x4c99c7
mov eax, dword [ebx]
mov dword [esi + 0x4840], eax
mov ebx, dword [ebp + 8]
mov edi, dword [esi + 0x6cc]
mov dword [ebp - 8], 0
mov dword [ebp - 4], edi
jmp 0x4c96f9
mov ecx, dword [esi + 0x6cc]
xor eax, eax
cmp dword [esi + 0xc8], 0x197
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ecx
jne 0x4c9ab2
cmp dword [esi + 0x4788], eax
jne 0x4c9ab2
mov edx, dword [ebp - 0x38]
or edx, dword [ebp - 0x34]
mov dword [ebp - 0xc], 2
je 0x4c9a41
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push eax
push ecx
push 0x4fc6c8
push esi
call fcn.004ae320
mov edx, dword [ebp + 0xc]
add esp, 0x10
mov dword [ebx + edx*4 + 0x56c], 2
jmp 0x4c9650
cmp dword [ebp - 0x28], eax
je 0x4c9ab2
push 0x4fc6a8
push esi
call fcn.004ae320
add esp, 8
mov dword [esi + 0x100], 1
cmp byte [edi + 1], 0xa
jne 0x4c9a65
inc edi
lea edx, [ebp - 0x2c]
push edx
push 1
lea eax, [edi + 1]
push eax
push ebx
call fcn.004d3e50
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4c9ab5
push 0x4fc71c
push esi
call fcn.004ae320
mov ecx, dword [ebp + 0xc]
mov edx, ecx
mov dword [ebx + ecx*4 + 0x56c], 2
add esp, 8
mov dword [ebp - 0xc], 0
mov dword [ebx + edx*4 + 0x56c], 2
jmp 0x4c9650
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0xc]
mov dword [ebx + edx*4 + 0x56c], 2
jmp 0x4c9650
push 0x4fc680
push esi
call fcn.004ae3a0
mov dword [ebp - 0x18], 2
jmp 0x4c9b1e
push 0x4fc650
jmp 0x4c9b11
cmp dword [esi + 0x158], 0
je 0x4c9b0c
cmp dword [esi + 0x4778], 0
je 0x4c9b0c
push 0x4fc62c
push esi
mov dword [ebx + 0x2c0], 1
call fcn.004ae320
jmp 0x4c9b1e
push 0x4fc614
push esi
mov dword [ebp - 0x18], 1
call fcn.004ae3a0
add esp, 8
push ebx
call fcn.004cac00
add esp, 4
test eax, eax
jne 0x4c9c3a
cmp dword [ebp - 0x18], eax
jne 0x4c9c2e
cmp dword [esi + 0x4840], 0xc8
je 0x4c9b69
push ebx
call fcn.004c4ad0
add esp, 4
test eax, eax
jne 0x4c9daa
cmp dword [ebx + 0x25c], eax
je 0x4c9b69
mov dword [ebp - 0x14], 1
jmp 0x4c9b6f
cmp dword [ebp - 0x14], 0
je 0x4c9b7c
cmp dword [esi + 0x10c], 0
jne 0x4c9c9c
cmp dword [esi + 0x10c], 0
mov edi, dword [ebp + 0xc]
je 0x4c9cbb
cmp dword [ebx + edi*4 + 0x56c], 2
jne 0x4c9bb1
push 0
push 0x4fc5f4
push esi
mov dword [ebx + edi*4 + 0x56c], 0
call fcn.004ae320
add esp, 0xc
cmp dword [esi + 0x10c], 0
je 0x4c9cbb
mov edi, dword [ebp + 0xc]
xor eax, eax
jmp 0x4c93a3
mov eax, dword [ebp - 4]
push eax
call fcn.004c4360
add esp, 4
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call fcn.004c4360
add esp, 4
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [0x5114c4]
mov edx, dword [ebp - 4]
push edx
call fcn.004c4360
add esp, 8
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4fc680
push esi
call fcn.004ae3a0
add esp, 8
pop edi
pop esi
mov eax, 0x38
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x2a
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4fc5d8
push esi
call fcn.004ae3a0
add esp, 8
pop edi
pop esi
mov eax, 0x38
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
push 0x4fc5b4
push esi
call fcn.004ae3a0
add esp, 0xc
pop edi
pop esi
mov eax, 0x38
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0xc8]
push ecx
push 0x4fc590
push esi
call fcn.004ae3a0
add esp, 0xc
pop edi
pop esi
mov eax, 0x38
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx + edi*4 + 0x190]
push edx
push ebx
call fcn.004b0d10
add esp, 8
mov dword [ebx + edi*4 + 0x190], 0xffffffff
cmp dword [esi + 0xc8], 0xc8
je 0x4c9d64
cmp dword [ebp - 0x14], 0
je 0x4c9cf4
cmp dword [esi + 0x10c], 0
je 0x4c9cf4
push 0x4fc574
push esi
mov dword [ebx + 0x2c0], 1
call fcn.004ae320
add esp, 8
jmp 0x4c9d2f
mov eax, dword [esi + 0x10c]
push eax
call dword [0x5114c4]
push 2
push ebx
mov dword [esi + 0x10c], 0
call fcn.004b0e40
mov ecx, dword [ebx + edi*4 + 0x190]
push ecx
push ebx
call fcn.004b0d10
add esp, 0x14
mov dword [ebx + edi*4 + 0x190], 0xffffffff
mov dword [ebx + edi*4 + 0x56c], 0
cmp dword [ebx + 0x2c0], 0
jne 0x4c9da8
mov edx, dword [esi + 0xc8]
push edx
push 0x4fc544
push esi
call fcn.004ae3a0
add esp, 0xc
pop edi
pop esi
mov eax, 0x38
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + edi*4 + 0x56c], 2
mov eax, dword [ebx + 0x314]
push eax
call dword [0x5114c4]
xor edi, edi
push 0x4fc51c
mov dword [ebx + 0x314], edi
push esi
mov dword [esi + 0x477c], 1
call fcn.004ae320
mov dword [esi + 0x100], edi
add esp, 0xc
mov dword [ebx + 0x2a4], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret