Function at 0x544a13
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x34], edx
lea ecx, [edx + 0x11a]
mov dword [ebp - 0xc], esi
lea ecx, [esi + ecx*4]
mov dword [ebp - 0x40], 0
xor bl, bl
mov dword [ebp - 0x30], 0
mov eax, dword [esi + edx*4 + 0x154]
xorps xmm0, xmm0
mov dword [ebp - 0x38], eax
xor al, al
cmp dword [ecx], 2
push edi
mov edi, dword [esi]
movlpd qword [ebp - 0x4c], xmm0
mov byte [ebp - 5], bl
mov byte [ebp - 6], al
mov dword [ebp - 0x14], ecx
je 0x5453a3
mov byte [esi + 0x1f5], al
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
cmp dword [ecx], 0
jne 0x544c92
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x6f3a48
push edi
call fcn.0052ddd3
push dword [edi + 0x144]
call dword [0x74b960]
add esp, 0x14
mov dword [edi + 0x144], 0
call fcn.0053dc43
mov ebx, eax
test ebx, ebx
je 0x54527c
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x6f3a70
call fcn.005431f3
add esp, 0xc
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x545275
push 1
push eax
mov edx, 0x6f3a78
mov ecx, esi
call fcn.0053d873
push dword [ebp - 0x2c]
mov esi, eax
call dword [0x74b960]
add esp, 0xc
test esi, esi
jne 0x544c7a
mov ecx, dword [ebp - 0xc]
mov edx, 0x6f2178
push dword [ebp + 0xc]
mov eax, 0x6f217c
mov esi, 0x6d18c8
mov dword [ebp - 0x24], esi
cmp dword [ecx + 0x138], 1
mov cl, byte [ecx + 0x1e6]
cmovne eax, edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], eax
test cl, cl
mov edx, esi
mov eax, 0x6f0fcc
cmove eax, edx
push eax
push dword [ebp + 8]
mov eax, 0x6f0fd0
cmove eax, edx
push eax
push 0x6f3a80
call fcn.005431f3
add esp, 0x14
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x545275
mov ecx, dword [ebp - 0xc]
mov edx, 0x6f1e80
call fcn.0053d113
test eax, eax
jne 0x544b89
push dword [ebp - 0x2c]
push 0x6f3a8c
call fcn.005431f3
mov esi, eax
add esp, 8
mov dword [ebp - 0x24], esi
test esi, esi
je 0x545269
mov ecx, dword [ebp - 0xc]
mov edx, 0x6f2194
call fcn.0053d113
test eax, eax
mov ecx, 0x6d18c8
mov eax, 0x6f21a8
mov edx, 0x6f1f2c
cmove ecx, eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0xc]
call fcn.0053d113
test eax, eax
jne 0x544bcd
cmp dword [edi + 0x3a4], eax
je 0x544bcd
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x224]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov ecx, 0x6d18c8
push dword [ebp - 0x28]
mov eax, dword [eax + 0x220]
test eax, eax
cmovne ecx, eax
push ecx
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x2c]
push 0x6f3a98
push ebx
call fcn.0053de23
mov esi, eax
add esp, 0x20
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x544c14
cmp byte [eax], 0
je 0x544c14
push eax
call dword [0x74b960]
add esp, 4
push dword [ebp - 0x2c]
call dword [0x74b960]
add esp, 4
test esi, esi
jne 0x544c66
mov ecx, dword [ebp - 0xc]
mov dl, 1
push ebx
call fcn.0053e2d3
mov esi, eax
add esp, 4
test esi, esi
jne 0x544c66
push 0x6e96ec
push ebx
call fcn.0053de23
mov esi, eax
add esp, 8
test esi, esi
jne 0x544c66
push dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
mov ecx, ebx
push eax
lea eax, [edi + 0x86cc]
push eax
call fcn.0053dc73
add esp, 0xc
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x544c7a
push 0x6f3ab8
push edi
call fcn.0052de53
add esp, 8
mov ecx, ebx
call fcn.0053dc53
test esi, esi
jne 0x545288
mov eax, dword [ebp - 0x14]
mov dword [eax], 1
push 1
xor edx, edx
mov ecx, edi
call fcn.0052e883
add esp, 4
test eax, eax
jle 0x5453ac
cmp byte [ebp + 0x10], 0
jne 0x544cc8
mov ecx, dword [ebp - 0x38]
or edx, 0xffffffff
push 0
push 0xffffffffffffffff
call fcn.0052fcd3
add esp, 8
test eax, eax
je 0x5453a3
lea eax, [edi + 0x584]
mov dword [ebp - 0x28], 0
mov ecx, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ecx
mov esi, eax
xor ebx, ebx
test ecx, ecx
je 0x5451e3
cmp dword [ebp - 0x30], 0
jne 0x5453ba
push 1
xor edx, edx
mov ecx, edi
call fcn.0052e883
mov ecx, eax
add esp, 4
test ecx, ecx
jle 0x5453ac
mov eax, 0x3e8
cmp ecx, eax
cmovl eax, ecx
mov ecx, dword [ebp - 0x38]
push eax
push 0xffffffffffffffff
or edx, 0xffffffff
call fcn.0052fcd3
add esp, 8
cmp eax, 0xffffffff
je 0x5451ae
test eax, eax
je 0x5451c3
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
push eax
mov eax, 0x4000
sub eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x20]
call fcn.0052e413
add esp, 0xc
cmp eax, 0x51
je 0x5451d3
test eax, eax
je 0x544d6f
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x5451c3
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
jg 0x544db2
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x180], eax
je 0x544da8
cmp dword [edi + 0x861c], eax
je 0x544da8
mov eax, dword [ebp - 0xc]
push 0x6f3b30
push edi
mov byte [eax + 0x1f5], 1
call fcn.0052ddd3
jmp 0x5451c0
push 0x6f3b54
jmp 0x5451b3
add dword [ebp - 0x28], ecx
cmp dword [ebp - 0x10], 1
jle 0x544e59
mov eax, dword [ebp - 0x18]
lea edx, [edi + 0x584]
or eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], edx
je 0x544e06
mov eax, ecx
mov ecx, dword [ebp - 0x18]
cdq
sub ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
sbb eax, edx
mov dword [ebp - 0x1c], eax
test eax, eax
jg 0x5451c3
jl 0x544dfc
test ecx, ecx
jne 0x5451c3
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x5451c3
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.0055b1c3
add esp, 8
cmp eax, 0xffffffff
jne 0x544e43
push 0x6f3b6c
push edi
call fcn.0052ddd3
add esp, 8
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 2
jmp 0x5451c3
push dword [ebp - 0x2c]
push 0x6f3b80
push edi
call fcn.0052ddd3
add esp, 0xc
jmp 0x5451c3
xor eax, eax
mov dword [ebp - 0x24], eax
test ecx, ecx
jle 0x5451c3
mov edx, dword [ebp - 0x20]
inc ebx
cmp byte [edx], 0xa
jne 0x545048
cmp byte [edi + 0x310], 0
je 0x544e90
push dword [ebp - 0xc]
mov edx, 1
mov ecx, edi
push ebx
push esi
call fcn.0052e5a3
add esp, 0xc
mov ecx, dword [ebp - 0xc]
xor edx, edx
cmp byte [edi + 0x304], dl
push ebx
setne dl
push esi
add edx, 2
call fcn.0052e3a3
add dword [edi + 0x86c8], ebx
add esp, 8
add dword [edi + 0x80], ebx
test eax, eax
jne 0x5453a5
mov al, byte [esi]
cmp al, 0xd
je 0x54505d
cmp al, 0xa
je 0x54505d
mov cl, byte [ebx + esi]
lea eax, [ebx + esi]
mov byte [ebp - 7], cl
mov edx, esi
push 0x11
mov ecx, 0x6f2690
mov dword [ebp - 0x48], eax
mov byte [eax], 0
call fcn.00552f03
add esp, 4
test eax, eax
je 0x544f03
mov ebx, dword [edi + 0xc8]
cmp ebx, 0x191
je 0x544f28
push 0x13
mov edx, esi
lea ebx, [edi + 0xc8]
mov ecx, 0x6f26a4
call fcn.00552f03
add esp, 4
test eax, eax
je 0x544f71
mov ebx, dword [ebx]
cmp ebx, 0x197
jne 0x544f6b
mov ecx, esi
call fcn.0053d183
mov esi, eax
test esi, esi
je 0x54527c
mov ecx, dword [ebp - 0xc]
cmp ebx, 0x197
push esi
sete dl
call fcn.0053d983
add esp, 4
mov ebx, eax
push esi
call dword [0x74b960]
add esp, 4
test ebx, ebx
je 0x545032
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ebx, [edi + 0xc8]
push 0xf
mov edx, esi
mov ecx, 0x6f225c
call fcn.00552f03
add esp, 4
test eax, eax
je 0x544fa2
push 0xa
push 0
add esi, 0xf
push esi
call dword [0x681498]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jmp 0x545032
push 0x6f25f8
mov edx, 0x6f1f8c
mov ecx, esi
call fcn.0053df53
add esp, 4
test al, al
je 0x544fc0
mov byte [ebp - 5], 1
jmp 0x545032
push 0x6f1fdc
mov edx, 0x6f1fc8
mov ecx, esi
call fcn.0053df53
add esp, 4
test al, al
je 0x544ff4
push 0x6f3c3c
push edi
call fcn.0052ddd3
mov ecx, dword [ebp - 0xc]
add esp, 8
mov byte [ebp - 6], 1
call fcn.0055b1a3
jmp 0x545032
push 0x6f25f8
mov edx, 0x6f2194
mov ecx, esi
call fcn.0053df53
add esp, 4
test al, al
je 0x545012
mov byte [ebp - 5], 1
jmp 0x545032
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x6f3c58
push esi
call fcn.004fc043
add esp, 0x10
cmp eax, 2
jne 0x545032
mov eax, dword [ebx]
mov dword [edi + 0x86b8], eax
mov eax, dword [ebp - 0x48]
xor ebx, ebx
mov edx, dword [ebp - 0x20]
mov cl, byte [ebp - 7]
mov byte [eax], cl
mov eax, dword [ebp - 0x24]
lea esi, [edx + 1]
mov ecx, dword [ebp - 0x2c]
inc eax
inc edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
cmp eax, ecx
jl 0x544e69
jmp 0x5451c3
cmp dword [edi + 0xc8], 0x197
lea eax, [edi + 0x584]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], eax
jne 0x545178
cmp byte [edi + 0x8624], 0
jne 0x545178
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov edx, dword [ebp - 0x1c]
or eax, edx
mov dword [ebp - 0x10], 2
je 0x5450eb
push edx
push ecx
push 0x6f3ba4
push edi
call fcn.0052ddd3
mov eax, dword [ebp - 0x2c]
add esp, 0x10
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
cdq
sub ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
sbb eax, edx
mov dword [ebp - 0x1c], eax
test eax, eax
jg 0x5451a3
jl 0x5450d6
test ecx, ecx
jne 0x5451a3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
mov dword [eax], 2
jmp 0x5451c3
cmp byte [ebp - 6], 0
je 0x5450d6
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
push eax
push 0x6f3bc8
push edi
mov byte [edi + 0x13d], 1
call fcn.0052ddd3
mov edx, dword [ebp - 0x24]
lea eax, [esi + 1]
mov ecx, dword [ebp - 0x2c]
add esp, 0xc
cmp byte [eax], 0xa
cmovne eax, esi
mov esi, eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [edx + 1]
cmovne eax, edx
sub ecx, eax
lea edx, [esi + 1]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.0055b1c3
add esp, 8
cmp eax, 0xffffffff
jne 0x54515c
push 0x6f3b6c
push edi
call fcn.0052ddd3
add esp, 8
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 2
jmp 0x5451c3
push dword [ebp - 0x3c]
push 0x6f3b80
push edi
call fcn.0052ddd3
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [eax], 2
jmp 0x5451c3
xor eax, eax
cmp dword [edi + 0x86b8], 0xc8
mov dword [ebp - 0x10], eax
jne 0x5451a3
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
add eax, 0xffffffff
je 0x5451a3
push eax
push 0x6f3be8
push edi
call fcn.0052de53
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [eax], 2
jmp 0x5451c3
push 0x6f3b00
push edi
mov dword [ebp - 0x30], 1
call fcn.0052de53
add esp, 8
mov ecx, dword [ebp - 0xc]
call fcn.005415d3
test eax, eax
jne 0x545291
cmp dword [ebp - 0x28], 0x4000
mov ecx, dword [ebp - 0x10]
jb 0x544ce4
cmp dword [ebp - 0x30], 0
jne 0x5453ba
cmp dword [edi + 0x86b8], 0xc8
mov esi, dword [ebp - 0xc]
je 0x54521a
mov ecx, esi
call fcn.0053d593
test eax, eax
jne 0x5453a5
cmp byte [esi + 0x1e0], al
je 0x54521a
mov bl, 1
mov byte [ebp - 5], bl
jmp 0x545221
mov bl, byte [ebp - 5]
test bl, bl
je 0x54522a
cmp dword [edi + 0x144], 0
jne 0x54529d
mov eax, dword [edi + 0x144]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x5452bc
cmp dword [ecx], 2
jne 0x54525f
push 0
push 0x6f3c68
push edi
mov dword [ecx], 0
call fcn.0052ddd3
mov eax, dword [edi + 0x144]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x544a77
jmp 0x5452bc
push dword [ebp - 0x2c]
call dword [0x74b960]
add esp, 4
mov ecx, ebx
call fcn.0053dc53
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, esi
mov edx, dword [esi + eax*4 + 0x154]
call fcn.0052fba3
mov eax, dword [ebp - 0x34]
mov dword [esi + eax*4 + 0x154], 0xffffffff
cmp dword [edi + 0xc8], 0xc8
je 0x54535e
test bl, bl
je 0x5452f0
cmp dword [edi + 0x144], 0
je 0x5452f0
push 0x6f3c88
push edi
mov byte [esi + 0x1f5], 1
call fcn.0052ddd3
add esp, 8
jmp 0x54532c
push dword [edi + 0x144]
call dword [0x74b960]
mov ebx, dword [ebp - 0x34]
add esp, 4
mov dword [edi + 0x144], 0
mov ecx, esi
mov byte [esi + 0x1e0], 1
mov edx, dword [esi + ebx*4 + 0x154]
call fcn.0052fba3
mov dword [esi + ebx*4 + 0x154], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
cmp byte [esi + 0x1f5], 0
jne 0x5453a3
push dword [edi + 0xc8]
push 0x6f3ca4
push edi
call fcn.0052de53
add esp, 0xc
mov eax, 0x38
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [eax], 2
push dword [esi + 0x220]
call dword [0x74b960]
add esp, 4
mov dword [esi + 0x220], 0
mov byte [edi + 0x8620], 1
push 0x6f3cd4
push edi
call fcn.0052ddd3
mov byte [edi + 0x13d], 0
add esp, 8
mov byte [esi + 0x1ef], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x6f3ad8
push edi
call fcn.0052de53
add esp, 8
pop edi
pop esi
mov eax, 0x38
pop ebx
mov esp, ebp
pop ebp
ret