Function at 0x56fd40
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
mov edi, dword [esi + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], eax
mov dword [ebp + 8], edi
mov ecx, dword [edi + 0x34]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
mov edx, dword [edi + 0x14]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edx
mov dword [edi + 0x14], eax
mov ecx, dword [esi + 0x44]
inc ecx
mov eax, ecx
mov dword [esi + 0x44], ecx
cmp eax, 0xc8
jle 0x56fd90
push 0x779974
push esi
call fcn.0056ce70
add esp, 8
push ebx
lea ebx, [esi + 0x10]
mov eax, dword [ebx]
lea ecx, [eax - 0x104]
cmp ecx, 0x1b
ja case.0x56fda9.261
xor edx, edx
mov dl, byte [ecx + 0x56ffa8]
jmp dword [edx*4 + 0x56ffa0]
mov edi, dword [esi + 4]
add eax, 0xfffffefe
cmp eax, 0x13
ja case.0x56fdc9.267
xor ecx, ecx
mov cl, byte [eax + 0x56ffec]
jmp dword [ecx*4 + 0x56ffc4]
push edi
push esi
call fcn.00573120
add esp, 8
jmp 0x56fec1
push edi
push esi
call fcn.00570000
add esp, 8
jmp 0x56fec1
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x20]
cmp ecx, 0x11f
mov dword [esi + 8], edi
je 0x56fe1f
mov edx, eax
mov ecx, dword [edx]
mov dword [ebx], ecx
mov ecx, dword [edx + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [edx + 8]
mov dword [ebx + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax], 0x11f
mov dword [ebx + 0xc], edx
jmp 0x56fe2e
lea eax, [esi + 0x18]
push eax
push esi
call fcn.0056cfe0
add esp, 8
mov dword [ebx], eax
push esi
call fcn.0056fd40
push edi
push 0x103
push 0x106
push esi
call fcn.0056fb40
add esp, 0x14
jmp 0x56fec1
push edi
push esi
call fcn.00572480
add esp, 8
jmp 0x56fec1
push edi
push esi
call fcn.005721d0
add esp, 8
jmp 0x56fec1
push edi
push esi
call fcn.00573b80
add esp, 8
jmp 0x56fec1
push esi
call fcn.0056fae0
mov eax, dword [ebx]
add esp, 4
cmp eax, 0x109
push esi
jne 0x56fe91
call fcn.0056fae0
push esi
call fcn.00573530
add esp, 8
jmp 0x56fec1
call fcn.005738b0
jmp 0x56febe
push esi
call fcn.005742a0
add esp, 4
mov edi, 1
jmp 0x56fec3
push esi
call fcn.00574450
add esp, 4
mov edi, 1
jmp 0x56fec3
push esi
call fcn.00573f60
add esp, 4
xor edi, edi
mov eax, dword [esi + 0x10]
lea ebx, [esi + 0x10]
cmp eax, 0x3b
jne 0x56ff0f
mov ecx, dword [esi + 4]
lea eax, [esi + 0x20]
mov dword [esi + 8], ecx
cmp dword [eax], 0x11f
je 0x56ff00
mov ecx, dword [eax]
mov edx, ebx
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 8], ecx
mov dword [esi + 0x20], 0x11f
mov dword [edx + 0xc], eax
jmp 0x56ff0f
lea ecx, [esi + 0x18]
push ecx
push esi
call fcn.0056cfe0
add esp, 8
mov dword [ebx], eax
mov eax, dword [esi + 0x30]
test edi, edi
mov edx, dword [eax + 0x34]
mov edi, dword [ebp + 8]
mov dword [eax + 0x24], edx
je 0x56fd94
mov eax, dword [esi + 0x44]
dec eax
mov dword [esi + 0x44], eax
mov esi, dword [edi + 0x14]
mov ecx, dword [edi + 0xc]
mov dword [ebp + 8], esi
mov eax, dword [esi]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 0x30]
mov edx, dword [esi + 8]
mov ecx, dword [eax + 0x34]
cmp ecx, edx
jle 0x56ff69
mov esi, dword [eax]
mov ebx, dword [eax + 0x18]
dec ecx
mov dword [eax + 0x34], ecx
mov esi, dword [esi + 0x18]
mov ecx, dword [eax + ecx*4 + 0x2b8]
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*4 + 8], ebx
mov ecx, dword [eax + 0x34]
cmp ecx, edx
jg 0x56ff45
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
pop ebx
test eax, eax
je 0x56ff84
mov edx, dword [esi + 8]
push 0
push 0
push edx
push 0x21
push edi
call fcn.00566350
add esp, 0x14
mov eax, dword [edi + 0x34]
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 4]
push ecx
push edi
call fcn.005633c0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret