Function at 0x4131b0
Capabilities:
Check http status code

Disassembly:
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp dword [esi + 0x58c], ebp
jg 0x413872
cmp dword [esi + 0x57c], ebp
je 0x413872
cmp word [esi + 0x32a], bp
jg 0x413872
cmp byte [esi + 0x65c], 0
jne 0x413872
cmp byte [esi + 0x578], 0
push edi
lea edi, [ebp + 0xc]
je 0x413261
call fcn.0042e980
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0xa
jg 0x413261
cmp dword [esi + 0x57c], 8
jge 0x41322e
call fcn.0042e980
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x46
jge 0x41322e
mov dword [esi + 0x57c], 8
jmp 0x413253
cmp dword [esi + 0x57c], 0xa
jge 0x413253
call fcn.0042e980
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x46
jge 0x413253
mov dword [esi + 0x57c], 0xa
cmp dword [esi + 0x57c], edi
jge 0x413261
mov dword [esi + 0x57c], edi
mov eax, dword [esi + 0x57c]
dec eax
cmp eax, 0x13
ja case.0x413271.2
jmp dword [eax*4 + 0x413878]
call fcn.0042e980
cdq
mov ecx, 0xa
idiv ecx
push 0xffffffffffffffff
push 1
add edx, ecx
mov dword [esi + 0x58c], edx
mov ecx, dword [0x452314]
call fcn.0040be60
mov dword [esi + 0x57c], 4
call fcn.0042e980
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x14
jl 0x4132c5
cmp byte [esi + 0x578], 0
je case.0x413271.2
mov ecx, dword [0x452314]
push ebp
call fcn.0040bf30
pop edi
pop esi
pop ebp
ret
call fcn.0042e980
cdq
mov ecx, 0xa
idiv ecx
pop edi
mov dword [esi + 0x57c], 0x12
add edx, ecx
mov dword [esi + 0x58c], edx
pop esi
pop ebp
ret
cmp dword [esi + 0x580], ebp
jle 0x41331b
mov eax, dword [esi + 0x588]
cmp eax, ebp
jle 0x41331b
dec eax
mov dword [esi + 0x588], eax
mov dword [esi + 0x59c], 1
pop edi
mov dword [esi + 0x57c], 0x13
mov dword [esi + 0x58c], 2
pop esi
pop ebp
ret
pop edi
mov dword [esi + 0x58c], 3
mov dword [esi + 0x57c], 0x14
pop esi
pop ebp
ret
cmp byte [esi + 0x578], 0
je 0x41356c
cmp dword [esi + 0x39c], 0x1388
mov dword [esi + 0x59c], ebp
mov dword [esi + 0x390], 0xffffffff
mov byte [esi + 0x385], 0
jge 0x4133bb
mov dword [esi + 0x584], ebp
mov dword [esi + 0x588], ebp
mov dword [esi + 0x580], ebp
mov byte [esi + 0x578], 0
mov dword [esi + 0x57c], ebp
call fcn.0042e980
cdq
mov ecx, 0x2d
idiv ecx
pop edi
mov byte [esi + 0x396], 0
add edx, 5
mov dword [esi + 0x648], edx
pop esi
pop ebp
ret
mov al, byte [esi + 0x329]
mov dword [esi + 0x588], 1
test al, al
jne 0x413434
cmp byte [esi + 0x3a1], al
jne 0x413434
call fcn.0042e980
cdq
mov ecx, 0x23
idiv ecx
add edx, 5
mov dword [esi + 0x58c], edx
call fcn.00428160
cmp eax, 0xc8
jne 0x41349d
call fcn.00428100
cmp eax, 0x2710
jle 0x41349d
call fcn.0042e980
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x14
jge 0x41349d
call fcn.0042e980
cdq
mov ecx, 0x41
idiv ecx
add dword [esi + 0x58c], edx
jmp 0x41349d
mov edx, dword [0x452320]
mov ebp, 3
cmp dword [edx + 0x18], ebp
mov edi, 0xa
jle 0x41345f
test al, al
jne 0x41345f
call fcn.0042e980
cdq
mov ecx, 0x14
idiv ecx
mov edi, edx
add edi, 0xa
mov edx, dword [0x452318]
mov eax, dword [edx + 0x622f8]
cmp eax, 0x1e
jl 0x413482
mov ecx, dword [0x452320]
cmp dword [ecx + 0x18], ebp
jge 0x413482
mov edi, 8
jmp 0x41348c
cmp eax, 0xf
jl 0x41348c
mov edi, 4
call fcn.0042e980
cdq
idiv edi
inc edx
mov dword [esi + 0x58c], edx
xor ebp, ebp
mov dword [esi + 0x57c], 0x12
mov edx, dword [0x452320]
cmp dword [edx + 0x18], ebp
jle 0x4134bb
cmp byte [esi + 0x396], 0
je 0x413539
mov edi, dword [esi + 0x39c]
cmp edi, 0x186a0
jl 0x41350c
call fcn.0042e980
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jg 0x41350c
call fcn.0042e980
cmp edi, 0x493e0
cdq
jge 0x4134f7
mov ecx, 0x47
idiv ecx
mov edi, edx
add edi, 0x1e
jmp 0x413506
mov ecx, 0x65
idiv ecx
mov edi, edx
add edi, 0xc8
imul edi, edi, 0x3e8
sub dword [esi + 0x39c], edi
call fcn.00428160
cmp eax, 0xc8
jne 0x413527
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov edi, eax
push 0xffffffffffffffff
push 1
push edi
mov ecx, esi
call fcn.00410230
mov dword [esi + 0x390], eax
cmp dword [esi + 0x390], 0xffffffff
jg 0x413561
mov dword [esi + 0x584], ebp
mov dword [esi + 0x588], ebp
mov dword [esi + 0x580], ebp
mov byte [esi + 0x578], 0
mov dword [esi + 0x57c], ebp
pop edi
mov byte [esi + 0x396], 0
pop esi
pop ebp
ret
pop edi
mov dword [esi + 0x580], ebp
mov dword [esi + 0x57c], ebp
pop esi
pop ebp
ret
call fcn.0042e980
cdq
mov ecx, 0x14
idiv ecx
mov dword [esi + 0x624], 1
mov dword [esi + 0x62c], 2
mov dword [esi + 0x57c], 5
add edx, 2
mov dword [esi + 0x58c], edx
call fcn.0042e980
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jl 0x4135cf
cmp byte [esi + 0x578], 0
je case.0x413271.2
call fcn.0042e980
and eax, 0x80000001
jns 0x4135e0
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [0x452314]
push eax
call fcn.0040bf30
pop edi
pop esi
pop ebp
ret
call fcn.0042e980
cdq
mov ecx, 0x14
idiv ecx
mov dword [esi + 0x624], 1
mov dword [esi + 0x62c], 3
mov dword [esi + 0x57c], 7
add edx, 2
mov dword [esi + 0x58c], edx
call fcn.0042e980
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jl 0x413643
cmp byte [esi + 0x578], 0
je case.0x413271.2
mov ecx, dword [0x452314]
push ebp
call fcn.0040bf30
pop edi
pop esi
pop ebp
ret
call fcn.0042e980
cdq
mov ecx, 0x14
idiv ecx
mov dword [esi + 0x624], 1
mov dword [esi + 0x62c], ebp
mov dword [esi + 0x57c], 9
add edx, 2
mov dword [esi + 0x58c], edx
call fcn.0042e980
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jl 0x4136a2
cmp byte [esi + 0x578], 0
je case.0x413271.2
mov ecx, dword [0x452314]
push 3
call fcn.0040bf30
pop edi
pop esi
pop ebp
ret
call fcn.0042e980
cdq
mov ecx, 0x14
idiv ecx
mov dword [esi + 0x624], 1
mov dword [esi + 0x62c], 4
mov dword [esi + 0x57c], 0xb
add edx, 2
mov dword [esi + 0x58c], edx
call fcn.0042e980
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jl 0x413706
cmp byte [esi + 0x578], 0
je case.0x413271.2
mov ecx, dword [0x452314]
push 2
call fcn.0040bf30
pop edi
pop esi
pop ebp
ret
call fcn.0042e980
cdq
mov ecx, 0x14
idiv ecx
mov dword [esi + 0x624], 1
mov dword [esi + 0x62c], 5
mov dword [esi + 0x57c], 0xd
add edx, 2
mov dword [esi + 0x58c], edx
call fcn.0042e980
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x1e
jl 0x41376a
cmp byte [esi + 0x578], 0
je case.0x413271.2
mov ecx, dword [0x452314]
push 4
call fcn.0040bf30
pop edi
pop esi
pop ebp
ret
call fcn.0042e980
cdq
mov ecx, 0x14
idiv ecx
push 0xffffffffffffffff
push 2
add edx, 2
mov dword [esi + 0x58c], edx
mov ecx, dword [0x452314]
call fcn.0040be60
pop edi
mov dword [esi + 0x57c], 6
pop esi
pop ebp
ret
call fcn.0042e980
cdq
mov ecx, 0x14
idiv ecx
push 0xffffffffffffffff
push ebp
add edx, 2
mov dword [esi + 0x58c], edx
mov ecx, dword [0x452314]
call fcn.0040be60
pop edi
mov dword [esi + 0x57c], 8
pop esi
pop ebp
ret
call fcn.0042e980
cdq
mov ecx, 0x14
idiv ecx
push 0xffffffffffffffff
push 3
add edx, 2
mov dword [esi + 0x58c], edx
mov ecx, dword [0x452314]
call fcn.0040be60
pop edi
mov dword [esi + 0x57c], 0xa
pop esi
pop ebp
ret
call fcn.0042e980
cdq
mov ecx, 0x14
idiv ecx
push 0xffffffffffffffff
push 4
add edx, 2
mov dword [esi + 0x58c], edx
mov ecx, dword [0x452314]
call fcn.0040be60
mov dword [esi + 0x57c], edi
pop edi
pop esi
pop ebp
ret
call fcn.0042e980
cdq
mov ecx, 0x14
idiv ecx
push 0xffffffffffffffff
push 5
add edx, 2
mov dword [esi + 0x58c], edx
mov ecx, dword [0x452314]
call fcn.0040be60
mov dword [esi + 0x57c], 0x10
pop edi
pop esi
pop ebp
ret