Function at 0x5e2dc4
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ecx]
mov edx, 0x36ee80
mov dword [ebp - 0x50], 0
xorps xmm0, xmm0
push edi
mov dword [ebp - 8], ecx
mov eax, dword [esi + 0x1d8]
test eax, eax
movlpd qword [ebp - 0x40], xmm0
cmovne edx, eax
mov eax, dword [ecx + 0x134]
mov dword [ebp - 0x48], edx
xor ebx, ebx
mov dword [ebp - 0x4c], eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x2c], ebx
cmp dword [ecx + 0x47c], 2
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], edx
je 0x5e37fe
mov dword [ecx + 0x1fc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
jmp 0x5e2e34
cmp dword [ecx + 0x47c], 0
je 0x5e35d3
xor eax, eax
lea edi, [esi + 0x59c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x34], eax
mov eax, 1
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], eax
lea esp, [esp]
test eax, eax
je 0x5e3031
test edx, edx
jne 0x5e354c
call dword [0x100370a4]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov ebx, edx
shr ebx, 6
imul eax, ebx, 0x3e8
sub ecx, eax
mov eax, dword [ebp - 8]
imul ecx, ecx, 0x3e8
mov edi, dword [eax + 0x124]
sub edi, ebx
sub ecx, dword [eax + 0x128]
mov eax, 0x10624dd3
imul ecx
imul ecx, edi, 0x3e8
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, dword [ebp - 0x48]
test ecx, ecx
jle 0x5e3486
mov ebx, dword [ebp - 0x4c]
mov eax, 0x3e8
cmp ecx, eax
cmovl eax, ecx
mov ecx, ebx
push eax
push 0xffffffffffffffff
call fcn.005e9a24
add esp, 8
cmp eax, 0xffffffff
je 0x5e33fe
mov edi, dword [ebp - 0xc]
test eax, eax
je 0x5e341e
lea eax, [ebp - 0x3c]
mov edx, ebx
mov ebx, dword [ebp - 8]
mov ecx, ebx
push eax
mov eax, 0x4000
sub eax, edi
push eax
push dword [ebp - 0x1c]
call fcn.005ea634
add esp, 0xc
cmp eax, 0x51
je 0x5e301f
test eax, eax
je 0x5e2f30
mov dword [ebp - 0x10], 0
jmp 0x5e3010
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], ecx
test ecx, ecx
jg 0x5e2f7c
cmp dword [esi + 0x150], 0
mov dword [ebp - 0x10], 0
je 0x5e2f62
cmp dword [esi + 0x863c], 0
je 0x5e2f62
mov dword [ebx + 0x1fc], 1
jmp 0x5e3010
push 0x1003e564
push esi
mov dword [ebp - 0x30], 1
call fcn.005ea214
add esp, 8
jmp 0x5e3010
add edi, ecx
xor eax, eax
cmp dword [ebp - 0x10], 1
mov dword [ebp - 0xc], edi
jle 0x5e3088
mov dword [ebp - 0xc], eax
lea edi, [esi + 0x59c]
mov eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edi
je 0x5e2fcd
mov ebx, dword [ebp - 0x14]
mov eax, ecx
mov edi, dword [ebp - 0x18]
cdq
sub ebx, eax
mov dword [ebp - 0x14], ebx
sbb edi, edx
mov dword [ebp - 0x18], edi
test edi, edi
jg 0x5e2fc5
jl 0x5e2fbe
test ebx, ebx
jne 0x5e2fc5
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
jmp 0x5e3012
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push ecx
mov edx, edi
mov ecx, ebx
call fcn.005e1da4
add esp, 8
cmp eax, 0xffffffff
jne 0x5e3075
push 0x1003e57c
push esi
call fcn.005ea104
add esp, 8
mov dword [ebp - 0x10], 0
mov dword [ebx + 0x47c], 2
mov edi, dword [ebp - 0xc]
mov ecx, ebx
call fcn.005e8d84
test eax, eax
jne 0x5e347a
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
cmp edi, 0x4000
jb 0x5e2e64
test edx, edx
jne 0x5e354c
cmp dword [esi + 0x86e8], 0xc8
mov ecx, dword [ebp - 8]
je 0x5e3426
call fcn.005de214
test eax, eax
jne 0x5e382c
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x1a4], eax
je 0x5e3426
mov ebx, 1
mov dword [ebp - 0x2c], ebx
jmp 0x5e342d
push dword [ebp - 0x24]
push 0x1003e590
push esi
call fcn.005ea104
add esp, 0xc
jmp 0x5e300d
mov dword [ebp - 0x20], eax
test ecx, ecx
jle 0x5e3010
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
inc edi
cmp byte [edx], 0xa
mov dword [ebp - 0x34], edi
jne 0x5e327f
cmp dword [esi + 0x31c], 0
je 0x5e30c2
push ebx
mov ebx, dword [ebp - 0x28]
mov edx, 1
push edi
push ebx
mov ecx, esi
call fcn.005ea7b4
add esp, 0xc
jmp 0x5e30c5
mov ebx, dword [ebp - 0x28]
cmp dword [esi + 0x300], 0
mov eax, 3
mov ecx, dword [ebp - 8]
mov edx, 2
push edi
cmovne edx, eax
push ebx
call fcn.005ea4c4
add dword [esi + 0x86f8], edi
add esp, 8
add dword [esi + 0x80], edi
test eax, eax
jne 0x5e382c
mov al, byte [ebx]
cmp al, 0xd
je 0x5e329a
cmp al, 0xa
je 0x5e329a
mov cl, byte [edi + ebx]
lea eax, [edi + ebx]
mov byte [ebp - 1], cl
mov edx, ebx
push 0x11
mov ecx, 0x1003e298
mov dword [ebp - 0x34], eax
mov byte [eax], 0
call fcn.005e9794
add esp, 4
test eax, eax
je 0x5e313e
mov edx, dword [esi + 0xc8]
cmp edx, 0x191
je 0x5e3161
push 0x13
mov edx, ebx
mov ecx, 0x1003e2ac
call fcn.005e9794
add esp, 4
test eax, eax
je 0x5e317c
mov edx, dword [esi + 0xc8]
cmp edx, 0x197
jne 0x5e317c
push ebx
mov ebx, dword [ebp - 8]
mov ecx, ebx
call fcn.005de654
add esp, 4
test eax, eax
jne 0x5e382c
jmp 0x5e3263
push 0xf
mov edx, ebx
mov ecx, 0x1003deac
call fcn.005e9794
add esp, 4
test eax, eax
je 0x5e31ac
push 0xa
lea eax, [ebx + 0xf]
push 0
push eax
call fcn.005f6843
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
jmp 0x5e3260
push 0x1003e1d4
mov edx, 0x1003e204
mov ecx, ebx
call fcn.005ded94
add esp, 4
test eax, eax
je 0x5e31d0
mov dword [ebp - 0x2c], 1
jmp 0x5e3260
push 0x1003dc18
mov edx, 0x1003dc04
mov ecx, ebx
call fcn.005ded94
add esp, 4
test eax, eax
je 0x5e3219
push 0x1003e64c
push esi
call fcn.005ea104
mov eax, dword [ebp - 8]
add esp, 8
mov dword [ebp - 0x44], 1
mov ebx, eax
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x1c], 1
jmp 0x5e3263
push 0x1003e1d4
mov edx, 0x1003dde4
mov ecx, ebx
call fcn.005ded94
add esp, 4
test eax, eax
je 0x5e323a
mov dword [ebp - 0x2c], 1
jmp 0x5e3260
lea edi, [esi + 0xc8]
push edi
lea eax, [ebp - 0x50]
push eax
push 0x1003e668
push ebx
call fcn.005f60ac
add esp, 0x10
cmp eax, 2
jne 0x5e3260
mov eax, dword [edi]
mov dword [esi + 0x86e8], eax
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
xor edi, edi
mov edx, dword [ebp - 0x1c]
mov cl, byte [ebp - 1]
mov dword [ebp - 0x34], edi
mov byte [eax], cl
mov ecx, dword [ebp - 0x24]
lea eax, [edx + 1]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
inc eax
inc edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
cmp eax, ecx
jl 0x5e3095
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
jmp 0x5e3012
xor edi, edi
lea eax, [esi + 0x59c]
cmp dword [esi + 0xc8], 0x197
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], eax
jne 0x5e33bb
cmp dword [esi + 0x864c], edi
jne 0x5e33bb
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
or eax, edi
mov dword [ebp - 0x10], 2
je 0x5e3321
mov ebx, dword [ebp - 0x14]
push edi
push ebx
push 0x1003e5b4
push esi
call fcn.005ea104
mov eax, dword [ebp - 0x24]
add esp, 0x10
sub eax, dword [ebp - 0x20]
cdq
sub ebx, eax
mov eax, edi
mov dword [ebp - 0x14], ebx
sbb eax, edx
mov dword [ebp - 0x18], eax
test eax, eax
jg 0x5e330c
jl 0x5e3305
test ebx, ebx
jne 0x5e330c
mov dword [ebp - 0x10], 0
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x47c], 2
jmp 0x5e3012
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x5e3305
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
sub eax, edi
push eax
push 0x1003e5d8
push esi
mov dword [esi + 0x100], 1
call fcn.005ea104
add esp, 0xc
cmp byte [ebx + 1], 0xa
jne 0x5e3354
inc ebx
inc edi
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x24]
lea edx, [ebx + 1]
sub eax, edi
push eax
call fcn.005e1da4
add esp, 8
cmp eax, 0xffffffff
jne 0x5e33a5
push 0x1003e57c
push esi
call fcn.005ea104
mov ecx, dword [ebp - 8]
add esp, 8
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
mov dword [ecx + 0x47c], 2
mov dword [ecx + 0x47c], 2
jmp 0x5e3012
push dword [ebp - 0x3c]
push 0x1003e590
push esi
call fcn.005ea104
add esp, 0xc
jmp 0x5e330c
xor eax, eax
cmp dword [esi + 0x86e8], 0xc8
mov dword [ebp - 0x10], eax
jne 0x5e330f
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
dec eax
je 0x5e330f
push eax
push 0x1003e5f8
push esi
call fcn.005ea214
mov ecx, dword [ebp - 8]
add esp, 0xc
mov dword [ecx + 0x47c], 2
jmp 0x5e3012
push 0x1003e534
push esi
mov dword [ebp - 0x30], 1
call fcn.005ea214
mov ecx, dword [ebp - 8]
add esp, 8
mov edi, dword [ebp - 0xc]
jmp 0x5e3012
mov ecx, dword [ebp - 8]
jmp 0x5e3012
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x5e3436
cmp dword [esi + 0x10c], 0
jne 0x5e34a0
cmp dword [esi + 0x10c], 0
je 0x5e34ee
cmp dword [ecx + 0x47c], 2
jne 0x5e3469
push 0
push 0x1003e678
push esi
mov dword [ecx + 0x47c], 0
call fcn.005ea104
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp dword [esi + 0x10c], 0
je 0x5e34ee
mov edx, dword [ebp - 0x30]
jmp 0x5e2e34
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1003e50c
push esi
call fcn.005ea214
add esp, 8
mov eax, 0x38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x28]
mov edi, dword [ecx + 0x134]
test eax, eax
je 0x5e34d0
cmp edi, dword [ecx + 0x138]
jne 0x5e3558
cmp dword [ecx + 0x140], 0
je 0x5e3558
mov dword [ecx + 0x140], 0
push edi
call dword [0x100371e8]
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.005e6e04
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x134], 0xffffffff
mov eax, dword [esi + 0xc8]
cmp eax, 0xc8
je 0x5e3566
push eax
push 0x1003e698
push esi
call fcn.005ea214
add esp, 0xc
test ebx, ebx
mov ebx, dword [ebp - 8]
je 0x5e3524
cmp dword [esi + 0x10c], 0
je 0x5e3524
mov dword [ebx + 0x1fc], 1
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x5e3542
push eax
call dword [0x1004343c]
add esp, 4
mov dword [esi + 0x10c], 0
mov dword [ebx + 0x47c], 0
mov eax, 0x38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [ecx + 0x2c]
call eax
add esp, 8
jmp 0x5e34e1
mov dword [ecx + 0x47c], 2
mov eax, dword [ecx + 0x22c]
test eax, eax
je 0x5e3591
push eax
call dword [0x1004343c]
mov ecx, dword [ebp - 8]
add esp, 4
mov dword [ecx + 0x22c], 0
push 0x1003e6c8
mov dword [ecx + 0x22c], 0
push esi
mov dword [esi + 0x8640], 1
call fcn.005ea104
mov eax, dword [ebp - 8]
add esp, 8
mov dword [esi + 0x100], 0
mov dword [eax + 0x1e0], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
movzx edi, ax
push edi
push dword [ebp + 8]
mov dword [ebp - 0x48], edi
push 0x1003e47c
push esi
call fcn.005ea104
mov eax, dword [esi + 0x10c]
add esp, 0x10
test eax, eax
je 0x5e360c
push eax
call dword [0x1004343c]
add esp, 4
mov dword [esi + 0x10c], 0
push 0xc
push 1
call dword [0x10043438]
mov ebx, eax
add esp, 8
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x5e3644
push edi
push dword [ebp + 8]
push 0x1003e4a4
call fcn.005e4f84
add esp, 0xc
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x5e3650
push ebx
call dword [0x1004343c]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 8]
mov edx, 0x1003e4ac
push 1
push eax
mov ecx, ebx
call fcn.005de3e4
push dword [ebp - 0x4c]
mov edi, eax
call dword [0x1004343c]
add esp, 0xc
test edi, edi
jne 0x5e381e
cmp dword [ebx + 0x118], 1
mov ecx, 0x1003ddc8
push dword [ebp - 0x48]
mov eax, 0x1003ddcc
mov edi, 0x1003ca5f
cmovne eax, ecx
mov dword [ebp - 0x3c], edi
mov ecx, dword [ebx + 0x1bc]
mov edx, edi
mov dword [ebp - 0x34], eax
test ecx, ecx
mov eax, 0x1003dc6c
mov dword [ebp - 0x44], edi
cmove eax, edx
push eax
push dword [ebp + 8]
mov eax, 0x1003dc70
cmove eax, edx
push eax
push 0x1003e4b4
call fcn.005e4f84
add esp, 0x14
mov dword [ebp - 0x30], eax
test eax, eax
je 0x5e3705
mov edx, 0x1003dad4
mov ecx, esi
call fcn.005ddd74
test eax, eax
jne 0x5e371d
push dword [ebp - 0x30]
push 0x1003e4c0
call fcn.005e4f84
mov edi, eax
add esp, 8
mov dword [ebp - 0x3c], edi
test edi, edi
jne 0x5e371d
push dword [ebp - 0x30]
call dword [0x1004343c]
add esp, 4
push dword [ebp - 0x18]
call dword [0x1004343c]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x1003dde4
mov ecx, esi
call fcn.005ddd74
test eax, eax
mov ecx, 0x1003ddf8
mov eax, 0x1003ca5f
mov edx, 0x1003dba8
cmovne ecx, eax
mov dword [ebp - 0x4c], ecx
mov ecx, esi
call fcn.005ddd74
test eax, eax
jne 0x5e375c
cmp dword [esi + 0x3dc], eax
je 0x5e375c
mov eax, dword [ebx + 0x230]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x4c]
mov eax, dword [ebx + 0x22c]
mov ecx, 0x1003ca5f
push dword [ebp - 0x44]
test eax, eax
cmovne ecx, eax
push ecx
push edi
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push 0x1003e4cc
push dword [ebp - 0x18]
call fcn.005dec34
mov edi, eax
add esp, 0x20
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x5e37a2
cmp byte [eax], 0
je 0x5e37a2
push eax
call dword [0x1004343c]
add esp, 4
push dword [ebp - 0x30]
call dword [0x1004343c]
add esp, 4
test edi, edi
jne 0x5e3807
mov edx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.005df124
mov edi, eax
test edi, edi
jne 0x5e3807
push 0x1003d7c4
push dword [ebp - 0x18]
call fcn.005dec34
mov edi, eax
add esp, 8
test edi, edi
jne 0x5e3807
push ecx
mov ecx, dword [ebp - 0x18]
mov edx, ebx
push eax
lea eax, [esi + 0x86fc]
push eax
call fcn.005de934
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x5e3807
mov dword [ebx + 0x47c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1003e4ec
push esi
call fcn.005ea214
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x18]
call dword [0x1004343c]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret